Skip to content
Commit d7b53fd9 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Mark Yao
Browse files

drm/rockchip: vop: Correct enabled clocks during setup



When doing the initial setup both the hclk and the aclk need to be
enabled otherwise the board will simply hang. This only occurs when
building the vop driver as a module, when its built-in the initial setup
happens to run before the clock framework shuts of unused clocks
(including the aclk).

While there also switch to doing prepare and enable in one step rather
then separate steps to reduce the amount of code required.

Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Acked-by: default avatarMark Yao <mark.yao@rock-chips.com>
Tested-by: default avatarYakir Yang <ykk@rock-chips.com>
Tested-by: default avatarRomain Perier <romain.perier@gmail.com>
parent b50a1705
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment