From 56226295180b1ac1b57f0a465f174aec6000d5ff Mon Sep 17 00:00:00 2001 From: Huang Jiachai Date: Tue, 23 Feb 2016 18:19:58 +0800 Subject: [PATCH] video: rockchip: rk3288: fix extend screen type error Change-Id: Ie1754c8ffa51f01637bf08f2fae443c821d8e09a Signed-off-by: Huang Jiachai (cherry picked from commit b6403156107533cf97e6fe326576831af214f47d) --- drivers/video/rockchip/lcdc/rk3288_lcdc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/video/rockchip/lcdc/rk3288_lcdc.c b/drivers/video/rockchip/lcdc/rk3288_lcdc.c index 5e44b961d66b..650e595f9ae6 100755 --- a/drivers/video/rockchip/lcdc/rk3288_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk3288_lcdc.c @@ -1354,6 +1354,11 @@ static int rk3288_load_screen(struct rk_lcdc_driver *dev_drv, bool initscreen) mask = m_EDP_OUT_EN; val = v_EDP_OUT_EN(1); break; + default: + mask = 0; + val = 0; + pr_info("unknow screen type: %d\n", screen->type); + break; } if (dev_drv->version == VOP_FULL_RK3288_V1_1) { mask |= m_HDMI_DCLK_OUT_EN; -- 2.34.1