OSDN Git Service

usb: gadget: udc: bcm63xx: propagate errors from platform_get_irq()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Tue, 14 Dec 2021 20:42:44 +0000 (23:42 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 15:54:23 +0000 (16:54 +0100)
commit4c71960105b4ad74bf0c30d0c9a40cf263e814ea
treee536736028e375687dfc78785bfd070695d1efdb
parent1646566b5e0c556f779180a8514e521ac735de1e
usb: gadget: udc: bcm63xx: propagate errors from platform_get_irq()

The driver overrides the error codes returned by platform_get_irq() to
-ENXIO for some strange reason.  Switch to propagating the error codes
upstream.

Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/20211214204247.7172-2-s.shtylyov@omp.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/bcm63xx_udc.c