mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
UPSTREAM: drm/rockchip: Fix typo in VOP macros argument
Fix a small typo in the macros VOP argument. The macro argument
is currently wrongly named "x", and then never used. The code
built fine almost by accident, as the macros are always used
in a context where a proper "vop" symbol exists.
This fix is almost cosmetic, as the resulting code shouldn't change.
Change-Id: Ic100c20dd988bd850b1d4b3f47d4d1f1f7ef83f3
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190109185639.5093-2-ezequiel@collabora.com
(cherry picked from commit 2996fb75d6)
This commit is contained in:
parent
560dc664f6
commit
f7fb6d9c98
|
|
@ -43,21 +43,21 @@
|
|||
#include "rockchip_drm_psr.h"
|
||||
#include "rockchip_drm_vop.h"
|
||||
|
||||
#define VOP_WIN_SET(x, win, name, v) \
|
||||
#define VOP_WIN_SET(vop, win, name, v) \
|
||||
vop_reg_set(vop, &win->phy->name, win->base, ~0, v, #name)
|
||||
#define VOP_SCL_SET(x, win, name, v) \
|
||||
#define VOP_SCL_SET(vop, win, name, v) \
|
||||
vop_reg_set(vop, &win->phy->scl->name, win->base, ~0, v, #name)
|
||||
#define VOP_SCL_SET_EXT(x, win, name, v) \
|
||||
#define VOP_SCL_SET_EXT(vop, win, name, v) \
|
||||
vop_reg_set(vop, &win->phy->scl->ext->name, \
|
||||
win->base, ~0, v, #name)
|
||||
|
||||
#define VOP_WIN_YUV2YUV_SET(x, win_yuv2yuv, name, v) \
|
||||
#define VOP_WIN_YUV2YUV_SET(vop, win_yuv2yuv, name, v) \
|
||||
do { \
|
||||
if (win_yuv2yuv && win_yuv2yuv->name.mask) \
|
||||
vop_reg_set(vop, &win_yuv2yuv->name, 0, ~0, v, #name); \
|
||||
} while (0)
|
||||
|
||||
#define VOP_WIN_YUV2YUV_COEFFICIENT_SET(x, win_yuv2yuv, name, v) \
|
||||
#define VOP_WIN_YUV2YUV_COEFFICIENT_SET(vop, win_yuv2yuv, name, v) \
|
||||
do { \
|
||||
if (win_yuv2yuv && win_yuv2yuv->phy->name.mask) \
|
||||
vop_reg_set(vop, &win_yuv2yuv->phy->name, win_yuv2yuv->base, ~0, v, #name); \
|
||||
|
|
@ -83,8 +83,8 @@
|
|||
#define VOP_INTR_GET_TYPE(vop, name, type) \
|
||||
vop_get_intr_type(vop, &vop->data->intr->name, type)
|
||||
|
||||
#define VOP_WIN_GET(x, win, name) \
|
||||
vop_read_reg(x, win->offset, win->phy->name)
|
||||
#define VOP_WIN_GET(vop, win, name) \
|
||||
vop_read_reg(vop, win->offset, win->phy->name)
|
||||
|
||||
#define VOP_WIN_GET_YRGBADDR(vop, win) \
|
||||
vop_readl(vop, win->base + win->phy->yrgb_mst.offset)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user