From: zwl Date: Tue, 24 Jun 2014 02:58:17 +0000 (+0800) Subject: rk fb: modify the judgement of vertical screen for hdmi X-Git-Tag: firefly_0821_release~5056 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e8242f4e1b7bd23441123db1ad9eceaa931cec76;p=firefly-linux-kernel-4.4.55.git rk fb: modify the judgement of vertical screen for hdmi --- diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index 3d539ca9ef5f..3c1b6c917ca9 100755 --- a/drivers/video/rockchip/rk_fb.c +++ b/drivers/video/rockchip/rk_fb.c @@ -1524,7 +1524,7 @@ static void rk_fb_update_reg(struct rk_lcdc_driver *dev_drv, ext_win->state = 0; } - if (ext_win->area[0].xact < ext_win->area[0].yact) { + if (win->area[0].xact < win->area[0].yact) { int pixel_width, vir_width_bit, stride; ext_win->area[0].xact = win->area[0].yact; ext_win->area[0].yact = win->area[0].xact;