mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
drm/rockchip: vop: Initialize vskiplines to zero
There is a path that use vskiplines with non-initialize. That would cause vop abnormal behavior. Change-Id: I53c6c575d6acc16aeae761dbb4867f3bc8bfe5ce Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
@@ -341,7 +341,7 @@ static void scl_vop_cal_scl_fac(struct vop *vop, struct vop_win *win,
|
||||
uint16_t vsu_mode;
|
||||
uint16_t lb_mode;
|
||||
uint32_t val;
|
||||
int vskiplines;
|
||||
int vskiplines = 0;
|
||||
|
||||
if (!win->phy->scl)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user