From: Huang Jiachai Date: Fri, 1 Jul 2016 07:06:22 +0000 (+0800) Subject: video: rockchip: vop: 3399: fix layer index for disp info error X-Git-Tag: firefly_0821_release~2249 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0a7235769c12b6a9d03a54e66b26c1a9b37a8b55;p=firefly-linux-kernel-4.4.55.git video: rockchip: vop: 3399: fix layer index for disp info error Change-Id: I2c45b204d9fafa01b3b05dbb0378bb1b05bd0642 Signed-off-by: Huang Jiachai --- diff --git a/drivers/video/rockchip/lcdc/rk322x_lcdc.c b/drivers/video/rockchip/lcdc/rk322x_lcdc.c index 42035743ebd7..b1f3b05b3144 100644 --- a/drivers/video/rockchip/lcdc/rk322x_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk322x_lcdc.c @@ -3867,7 +3867,7 @@ static ssize_t vop_get_disp_info(struct rk_lcdc_driver *dev_drv, spin_unlock(&vop_dev->reg_lock); size += snprintf(dsp_buf, 80, "z-order:\n win[%d]\n win[%d]\n win[%d]\n win[%d]\n", - layer1_sel, layer0_sel, layer2_sel, layer3_sel); + layer3_sel, layer2_sel, layer1_sel, layer0_sel); strcat(buf, dsp_buf); memset(dsp_buf, 0, sizeof(dsp_buf)); /* win0 */