From: Huang Jiachai Date: Fri, 22 Jan 2016 09:40:54 +0000 (+0800) Subject: video: rockchip: screen: init extend screen type X-Git-Tag: firefly_0821_release~3476 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cd3559daa4075c0e4e4a3e93e7f8e934f55eac4a;p=firefly-linux-kernel-4.4.55.git video: rockchip: screen: init extend screen type if the extend screen type is same to prmry screen type, the GRF reg config for vop selete will be error; Change-Id: I6671ae69da175352bd1935254603e434e85900ea Signed-off-by: Huang Jiachai --- diff --git a/drivers/video/rockchip/screen/rk_screen.c b/drivers/video/rockchip/screen/rk_screen.c index b82a8e7218c3..3a4e6c3bb8ac 100644 --- a/drivers/video/rockchip/screen/rk_screen.c +++ b/drivers/video/rockchip/screen/rk_screen.c @@ -14,6 +14,7 @@ int rk_fb_get_extern_screen(struct rk_screen *screen) memcpy(screen, rk_screen, sizeof(struct rk_screen)); screen->dsp_lut = NULL; screen->cabc_lut = NULL; + screen->type = SCREEN_NULL; return 0; }