Skip to content

Commit cc8f129

Browse files
johnkeepingmmind
authored andcommitted
drm/rockchip: fix VOP_WIN_GET macro
Commit 9a61c54 ("drm/rockchip: vop: group vop registers") seems to have unintentionally changed the defintion of this macro. Since it is unused, this was not spotted but any attempt to use it results in compilation errors. Revert to the previous definition. Fixes: 9a61c54 ("drm/rockchip: vop: group vop registers") Signed-off-by: John Keeping <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent abd4e74 commit cc8f129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/rockchip/rockchip_drm_vop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
vop_get_intr_type(vop, &vop->data->intr->name, type)
8383

8484
#define VOP_WIN_GET(vop, win, name) \
85-
vop_read_reg(vop, win->offset, win->phy->name)
85+
vop_read_reg(vop, win->base, &win->phy->name)
8686

8787
#define VOP_WIN_HAS_REG(win, name) \
8888
(!!(win->phy->name.mask))

0 commit comments

Comments
 (0)