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:
6362882
)
rk3288 lcdc: fix status bar display error
author
hjc
<hjc@rock-chips.com>
Wed, 9 Apr 2014 09:58:38 +0000
(17:58 +0800)
committer
hjc
<hjc@rock-chips.com>
Wed, 9 Apr 2014 09:58:46 +0000
(17:58 +0800)
drivers/video/rockchip/lcdc/rk3288_lcdc.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/lcdc/rk3288_lcdc.c
b/drivers/video/rockchip/lcdc/rk3288_lcdc.c
index 03a39b6c313fb5154ce793e38171ff3212e19a70..cfd0bd70aca6b198cb1b000852918924998b364c 100755
(executable)
--- a/
drivers/video/rockchip/lcdc/rk3288_lcdc.c
+++ b/
drivers/video/rockchip/lcdc/rk3288_lcdc.c
@@
-609,6
+609,9
@@
static int rk3288_win_0_1_reg_update(struct rk_lcdc_driver *dev_drv,int win_id)
struct rk_lcdc_win *win = dev_drv->win[win_id];
unsigned int mask, val, off;
off = win_id * 0x40;
+ if(win->win_lb_mode == 5)
+ win->win_lb_mode = 4;
+
if(win->state == 1){
mask = m_WIN0_EN | m_WIN0_DATA_FMT | m_WIN0_FMT_10 |
m_WIN0_LB_MODE | m_WIN0_RB_SWAP;