From 0a7235769c12b6a9d03a54e66b26c1a9b37a8b55 Mon Sep 17 00:00:00 2001 From: Huang Jiachai Date: Fri, 1 Jul 2016 15:06:22 +0800 Subject: [PATCH] video: rockchip: vop: 3399: fix layer index for disp info error Change-Id: I2c45b204d9fafa01b3b05dbb0378bb1b05bd0642 Signed-off-by: Huang Jiachai --- 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 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 */ -- 2.34.1