forked from Minki/linux
drm/rockchip: vop: Initialize vskiplines to zero
There is a path that use vskiplines with non-initialize. That would cause vop abnormal behavior. Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
parent
44d0237a26
commit
2db00cf5a0
@ -310,7 +310,7 @@ static void scl_vop_cal_scl_fac(struct vop *vop, const struct vop_win_data *win,
|
||||
uint16_t vsu_mode;
|
||||
uint16_t lb_mode;
|
||||
uint32_t val;
|
||||
int vskiplines;
|
||||
int vskiplines = 0;
|
||||
|
||||
if (dst_w > 3840) {
|
||||
DRM_ERROR("Maximum destination width (3840) exceeded\n");
|
||||
|
Loading…
Reference in New Issue
Block a user