linux-stable/drivers/usb/musb
Yang Yingliang bd449ad8ce usb: musb: fix error return code in omap2430_probe()
Before calling platform_get_resource() in omap2430_probe(), the 'ret' is
re-assgined to 0, it can't return an error code, if platform_get_resource
fails. Set the error code to -EINVAL to fix this.

Fixes: ffbe2feac5 ("usb: musb: omap2430: Fix probe regression for missing resources")
Cc: stable <stable@kernel.org>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20221230081730.1655616-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-17 17:05:58 +01:00
..
cppi_dma.h
da8xx.c usb: musb: da8xx: Switch to use dev_err_probe() helper 2022-09-27 10:36:06 +02:00
jz4740.c usb: musb: jz4740: Support the generic PHY framework 2022-11-09 12:39:13 +01:00
Kconfig usb: musb: Drop old unused am35x glue layer 2022-11-29 08:56:09 +01:00
Makefile usb: musb: Drop old unused am35x glue layer 2022-11-29 08:56:09 +01:00
mediatek.c usb: musb: mediatek: Use clk_bulk API to simplify clock operations 2022-04-21 19:23:46 +02:00
mpfs.c usb: musb: mpfs: add missing clk_disable_unprepare() in mpfs_remove() 2022-06-29 21:02:05 +02:00
musb_core.c usb: musb: Allow running without CONFIG_USB_PHY 2022-11-09 12:39:13 +01:00
musb_core.h usb: musb: Allow running without CONFIG_USB_PHY 2022-11-09 12:39:13 +01:00
musb_cppi41.c usb: musb: cppi41: Switch to use dev_err_probe() helper 2022-09-27 10:36:06 +02:00
musb_debug.h
musb_debugfs.c usb: musb: Add and use inline functions musb_{get,set}_state 2022-11-09 12:39:12 +01:00
musb_dma.h usb: musb: remove left-over after USB_TI_CPPI_DMA removal 2022-11-09 12:37:34 +01:00
musb_dsps.c usb: musb: dsps: Use platform_get_irq_byname() to get the interrupt 2021-12-21 08:51:57 +01:00
musb_gadget.c usb: musb: remove extra check in musb_gadget_vbus_draw 2022-12-08 16:44:39 +01:00
musb_gadget.h
musb_gadget_ep0.c
musb_host.c usb: musb: Support setting OTG mode using generic PHY 2022-11-09 12:39:13 +01:00
musb_host.h
musb_io.h
musb_regs.h
musb_trace.c
musb_trace.h usb: musb: tracing: Use the new __vstring() helper 2022-07-19 11:20:24 -04:00
musb_virthub.c usb: musb: Allow running without CONFIG_USB_PHY 2022-11-09 12:39:13 +01:00
musbhsdma.c
omap2430.c usb: musb: fix error return code in omap2430_probe() 2023-01-17 17:05:58 +01:00
omap2430.h
sunxi.c usb: musb: sunxi: Switch to use dev_err_probe() helper 2022-09-27 10:36:07 +02:00
tusb6010.c usb/musb: fix repeated words in comments 2022-07-27 14:34:05 +02:00
tusb6010.h
tusb6010_omap.c
ux500.c usb: musb: Set the DT node on the child device 2021-12-17 17:00:45 +01:00
ux500_dma.c