]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: dw_hdmi: Move HDMI vpll clock enable to bind()
authorJeffy Chen <jeffy.chen@rock-chips.com>
Fri, 2 Mar 2018 17:57:56 +0000 (18:57 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 8 Mar 2018 16:32:53 +0000 (17:32 +0100)
commitb12300d55ca8b2ad9380b89afe4488473b473760
treed56bfa1c0b5a985fcef3426028efde7cb156078d
parentc35129564767fb90e80cc8f1247c196a64a365b8
drm/rockchip: dw_hdmi: Move HDMI vpll clock enable to bind()

The HDMI vpll clock should be enabled when bind() is called. So move the
clk_prepare_enable of that clock to bind() function and add the missing
clk_disable_unprepare() required in error handling path and unbind().

Fixes: 7bfcc1cbd149 ("drm: bridge/dw_hdmi: add rockchip rk3288 support")
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180302175757.28192-5-enric.balletbo@collabora.com
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c