From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:45306 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934395AbdEWMOg (ORCPT ); Tue, 23 May 2017 08:14:36 -0400 Subject: Patch "usb: host: xhci-plat: propagate return value of platform_get_irq()" has been added to the 4.11-stable tree To: thomas.petazzoni@free-electrons.com, gregkh@linuxfoundation.org, mathias.nyman@linux.intel.com Cc: , From: Date: Tue, 23 May 2017 14:14:17 +0200 Message-ID: <1495541657210157@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled usb: host: xhci-plat: propagate return value of platform_get_irq() to the 4.11-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: usb-host-xhci-plat-propagate-return-value-of-platform_get_irq.patch and it can be found in the queue-4.11 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 4b148d5144d64ee135b8924350cb0b3a7fd21150 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 17 May 2017 18:32:06 +0300 Subject: usb: host: xhci-plat: propagate return value of platform_get_irq() From: Thomas Petazzoni commit 4b148d5144d64ee135b8924350cb0b3a7fd21150 upstream. platform_get_irq() returns an error code, but the xhci-plat driver ignores it and always returns -ENODEV. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Signed-off-by: Thomas Petazzoni Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/xhci-plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -162,7 +162,7 @@ static int xhci_plat_probe(struct platfo irq = platform_get_irq(pdev, 0); if (irq < 0) - return -ENODEV; + return irq; /* Try to set 64-bit DMA first */ if (!pdev->dev.dma_mask) Patches currently in stable-queue which might be from thomas.petazzoni@free-electrons.com are queue-4.11/usb-host-xhci-plat-propagate-return-value-of-platform_get_irq.patch