From eab94f6acfa516bb9913f68abc6392b3d4abc5eb Mon Sep 17 00:00:00 2001 From: Mark Yao Date: Mon, 18 Apr 2016 18:28:27 +0800 Subject: [PATCH] video: rockchip: vop: 3399: fix afbdc abnormal The vop mask write need use u64 value. Change-Id: I020fdf4e7115b2763dd732be6542589f61190f4a Signed-off-by: Mark Yao --- drivers/video/rockchip/lcdc/rk322x_lcdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) | -- 2.34.1