mirror-linux/drivers/usb/misc
Fabio Estevam 34b990e9bb usb: misc: onboard_usb_hub: Disable the USB hub clock on failure
In case regulator_bulk_enable() fails, the previously enabled USB hub
clock should be disabled.

Fix it accordingly.

Fixes: 65e62b8a95 ("usb: misc: onboard_usb_hub: Add support for clock input")
Cc: stable <stable@kernel.org>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Acked-by: Matthias Kaehlcke <mka@chromium.org>
Link: https://lore.kernel.org/r/20240409162910.2061640-1-festevam@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-11 14:28:47 +02:00
..
sisusbvga USB: sisusbvga: Add endpoint checks 2023-04-20 11:43:22 +02:00
Kconfig usb: Add support for Intel LJCA device 2023-10-11 11:33:37 +02:00
Makefile usb: Add support for Intel LJCA device 2023-10-11 11:33:37 +02:00
adutux.c
apple-mfi-fastcharge.c
appledisplay.c
brcmstb-usb-pinmap.c
chaoskey.c
cypress_cy7c63.c USB: misc: Remove unnecessary NULL values 2023-08-04 14:48:55 +02:00
cytherm.c USB: misc: Remove unnecessary NULL values 2023-08-04 14:48:55 +02:00
ehset.c usb: misc: ehset: fix wrong if condition 2023-07-27 10:37:30 +02:00
emi26.c
emi62.c
ezusb.c
idmouse.c
iowarrior.c USB: misc: iowarrior: remove redundant assignment to variable io_res 2023-11-22 12:02:53 +00:00
isight_firmware.c
ldusb.c
legousbtower.c
lvstest.c
onboard_usb_hub.c usb: misc: onboard_usb_hub: Disable the USB hub clock on failure 2024-04-11 14:28:47 +02:00
onboard_usb_hub.h usb: misc: onboard_usb_hub: Add support for TI TUSB8020B 2024-03-05 13:27:45 +00:00
onboard_usb_hub_pdevs.c
qcom_eud.c usb: misc: eud: Add IRQ check for platform_get_irq() 2023-11-22 12:02:53 +00:00
trancevibrator.c
usb-ljca.c usb: misc: ljca: Fix double free in error handling path 2024-03-26 11:01:23 +01:00
usb251xb.c usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
usb3503.c usb: Switch i2c drivers back to use .probe() 2023-05-29 15:53:11 +01:00
usb4604.c usb: Switch i2c drivers back to use .probe() 2023-05-29 15:53:11 +01:00
usblcd.c
usbsevseg.c USB: misc: Remove unnecessary NULL values 2023-08-04 14:48:55 +02:00
usbtest.c usb: usbtest: fix a type promotion bug 2023-10-08 07:50:36 +02:00
uss720.c
yurex.c usb: yurex: Fix inconsistent locking bug in yurex_read() 2024-01-02 14:41:51 +01:00