aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorFedor Pchelkin <[email protected]>2025-03-16 10:26:56 +0000
committerGreg Kroah-Hartman <[email protected]>2025-04-11 14:20:52 +0000
commit8c531e0a8c2d82509ad97c6d3a1e6217c7ed136d (patch)
tree4a4c3d715cbd0891b50a7febb93d4268a4383318 /drivers/usb/cdns3/cdns3-gadget.c
parentusb: chipidea: ci_hdrc_imx: fix call balance of regulator routines (diff)
downloadkernel-8c531e0a8c2d82509ad97c6d3a1e6217c7ed136d.tar.gz
kernel-8c531e0a8c2d82509ad97c6d3a1e6217c7ed136d.zip
usb: chipidea: ci_hdrc_imx: implement usb_phy_init() error handling
usb_phy_init() may return an error code if e.g. its implementation fails to prepare/enable some clocks. And properly rollback on probe error path by calling the counterpart usb_phy_shutdown(). Found by Linux Verification Center (linuxtesting.org). Fixes: be9cae2479f4 ("usb: chipidea: imx: Fix ULPI on imx53") Cc: stable <[email protected]> Signed-off-by: Fedor Pchelkin <[email protected]> Acked-by: Peter Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions