From: Mark Yao Date: Mon, 18 Apr 2016 10:28:27 +0000 (+0800) Subject: video: rockchip: vop: 3399: fix afbdc abnormal X-Git-Tag: firefly_0821_release~2788 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eab94f6acfa516bb9913f68abc6392b3d4abc5eb;p=firefly-linux-kernel-4.4.55.git video: rockchip: vop: 3399: fix afbdc abnormal The vop mask write need use u64 value. Change-Id: I020fdf4e7115b2763dd732be6542589f61190f4a Signed-off-by: Mark Yao --- diff --git a/drivers/video/rockchip/lcdc/rk322x_lcdc.c b/drivers/video/rockchip/lcdc/rk322x_lcdc.c index c9b9c0ec4865..cb7a4cf8e2b3 100644 --- a/drivers/video/rockchip/lcdc/rk322x_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk322x_lcdc.c @@ -1306,7 +1306,7 @@ static int vop_axi_gather_cfg(struct vop_device *vop_dev, static int vop_fbdc_reg_update(struct vop_device *vop_dev, int win_id) { struct rk_lcdc_win *win = vop_dev->driver.win[win_id]; - u32 val; + u64 val; val = V_VOP_FBDC_WIN_SEL(win_id) | V_AFBCD_HREG_PIXEL_PACKING_FMT(win->area[0].fbdc_fmt_cfg) |