drm/rockchip: vop2: Use vop2->old_layer_sel directly in wait_for_layer_cfg_done()

After the old_layer_sel local was removed, the only caller of
rk3568_vop2_wait_for_layer_cfg_done() already passes vop2->old_layer_sel
as the expected value.

Drop the redundant parameter and read the member directly inside the
function.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20260504-vop2-layer-cfg-tmout-v1-5-730226a7331e@collabora.com
This commit is contained in:
Cristian Ciocaltea 2026-05-04 21:24:03 +03:00 • committed by Heiko Stuebner
commit dc3de97433