aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/drd.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-01-26 15:55:24 +0100
committerHeiko Stuebner <heiko@sntech.de>2022-02-08 18:10:36 +0100
commitc0cfbb122275da1b726481de5a8cffeb24e6322b (patch)
tree4d6be4c0bf5170a9d815c59edef254c34f1e86fc /drivers/usb/cdns3/drd.c
parentdb405774f6a80c5607dcf43ec810f078bb5c660d (diff)
drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
The driver returns an error when devm_phy_optional_get() fails leaving the previously enabled clock turned on. Change order and enable the clock only after the phy has been acquired. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220126145549.617165-3-s.hauer@pengutronix.de
Diffstat (limited to 'drivers/usb/cdns3/drd.c')
0 files changed, 0 insertions, 0 deletions