OSDN Git Service

usb: host: ohci-omap: propagate errors from platform_get_irq()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Tue, 14 Dec 2021 20:42:47 +0000 (23:42 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 15:54:23 +0000 (16:54 +0100)
commit4de5bd9a389d886d2f58ad15512f476ffc7d639d
tree4e5776fd60535052a92e115205fe1731b5e8f3e4
parent1aebf115afd730d1e0f773b8273b04b8681e1128
usb: host: ohci-omap: 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: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/20211214204247.7172-5-s.shtylyov@omp.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-omap.c