drm/rockchip: vop2: clk init is only used at rk3588

clk init is only used at rk3588 but rk3528 version is bigger
then rk3588

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I0730242f223b6ab3b48765c13fe4ff1ab2803570
This commit is contained in:
Sandy Huang
2022-12-19 19:27:52 +08:00
committed by Tao Huang
parent 053d015d34
commit 01d5ef7d1e

View File

@@ -318,7 +318,7 @@ static int vop2_clk_init(struct vop2 *vop2)
INIT_LIST_HEAD(&vop2->clk_list_head);
if (vop2->version < VOP_VERSION_RK3588)
if (vop2->version != VOP_VERSION_RK3588)
return 0;
list_for_each_entry_safe(clk, n, &vop2->clk_list_head, list) {