linux/drivers/usb/phy
Sergey Shtylyov 0d45a1373e usb: phy: tahvo: add IRQ check
The driver neglects to check the result of platform_get_irq()'s call and
blithely passes the negative error codes to request_threaded_irq() (which
takes *unsigned* IRQ #), causing it to fail with -EINVAL, overriding an
original error code.  Stop calling request_threaded_irq() with the invalid
IRQ #s.

Fixes: 9ba96ae507 ("usb: omap1: Tahvo USB transceiver driver")
Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/8280d6a4-8e9a-7cfe-1aa9-db586dc9afdf@omp.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-16 18:57:19 +02:00
..
Kconfig
Makefile
of.c
phy-ab8500-usb.c
phy-am335x-control.c
phy-am335x-control.h
phy-am335x.c
phy-fsl-usb.c usb: phy: fsl-usb: add IRQ check 2021-08-13 13:05:50 +02:00
phy-fsl-usb.h
phy-generic.c
phy-generic.h
phy-gpio-vbus-usb.c
phy-isp1301-omap.c
phy-isp1301.c
phy-jz4770.c
phy-keystone.c
phy-mv-usb.c
phy-mv-usb.h
phy-mxs-usb.c
phy-omap-otg.c
phy-tahvo.c usb: phy: tahvo: add IRQ check 2021-08-16 18:57:19 +02:00
phy-tegra-usb.c
phy-twl6030-usb.c usb: phy: twl6030: add IRQ checks 2021-08-13 13:05:50 +02:00
phy-ulpi-viewport.c
phy-ulpi.c
phy.c