From: yxj Date: Sun, 21 Apr 2013 02:13:15 +0000 (+0800) Subject: mfd:rk616:core:set vif vst hst to 1 X-Git-Tag: firefly_0821_release~7243 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ae21e9c2814a5f6dbb6e2e1bc86d72acc7908ffb;p=firefly-linux-kernel-4.4.55.git mfd:rk616:core:set vif vst hst to 1 --- diff --git a/drivers/video/display/transmitter/rk616_lvds.c b/drivers/video/display/transmitter/rk616_lvds.c index e5d162672420..5b823eb2b393 100644 --- a/drivers/video/display/transmitter/rk616_lvds.c +++ b/drivers/video/display/transmitter/rk616_lvds.c @@ -39,7 +39,7 @@ static int rk616_vif_cfg(struct mfd_rk616 *rk616,rk_screen *screen,int id) ret = rk616->write_dev(rk616,VIF0_REG0 + offset,&val); - val = (screen->hsync_len + screen->left_margin) | ((screen->vsync_len + screen->upper_margin)<<16); + val = (1) | (1<<16); ret = rk616->write_dev(rk616,VIF0_REG1 + offset,&val); val = (screen->hsync_len << 16) | (screen->hsync_len + screen->left_margin +