projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad5ae97
)
rk fb: if not want the config effect,set reserved[3] bit[0] 1
author
hjc
<hjc@rock-chips.com>
Mon, 9 Mar 2015 10:09:37 +0000
(18:09 +0800)
committer
hjc
<hjc@rock-chips.com>
Mon, 23 Mar 2015 03:01:22 +0000
(11:01 +0800)
Signed-off-by: hjc <hjc@rock-chips.com>
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index d9fc6ebdb787accb34caa3c891fc53e2d7331d5e..d1d1d3f5e93e189e25b4506ba7b1f9fb8258680c 100755
(executable)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-1377,7
+1377,9
@@
static int rk_fb_pan_display(struct fb_var_screeninfo *var,
if (video_data_to_mirroring)
video_data_to_mirroring(info, NULL);
#endif
- dev_drv->ops->cfg_done(dev_drv);
+ /*if not want the config effect,set reserved[3] bit[0] 1*/
+ if (likely((var->reserved[3] & 0x1) == 0))
+ dev_drv->ops->cfg_done(dev_drv);
return 0;
}