]> 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)
commit476930a15c34b405e14254527f271908060b61dc
treed56bfa1c0b5a985fcef3426028efde7cb156078d
parent299549f660750bdf32016a2160e6c02449e37530
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: 06769b66d02c ("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