commit | c0cfbb122275da1b726481de5a8cffeb24e6322b | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Wed Jan 26 15:55:24 2022 +0100 |
committer | Heiko Stuebner <heiko@sntech.de> | Tue Feb 08 18:10:36 2022 +0100 |
tree | 4d6be4c0bf5170a9d815c59edef254c34f1e86fc | |
parent | db405774f6a80c5607dcf43ec810f078bb5c660d [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