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

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

Acked-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/20211214204247.7172-3-s.shtylyov@omp.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/pxa25x_udc.c