projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d75b63
)
MLK-14260 video: mipi_dsi_northwest: assign the 'mode' field of fb_info.
author
Fancy Fang
<chen.fang@nxp.com>
Mon, 13 Mar 2017 08:11:28 +0000
(16:11 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:50 +0000
(15:21 -0500)
Assign the 'mode' field of fb_info structure to show correct
content when running "cat /sys/class/graphics/fb0/mode".
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit
06a16560683047681c46b680efef7af58c75b6b2
)
drivers/video/fbdev/mxc/mipi_dsi_northwest.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/mxc/mipi_dsi_northwest.c
b/drivers/video/fbdev/mxc/mipi_dsi_northwest.c
index
f2067db
..
dd23f71
100644
(file)
--- a/
drivers/video/fbdev/mxc/mipi_dsi_northwest.c
+++ b/
drivers/video/fbdev/mxc/mipi_dsi_northwest.c
@@
-145,6
+145,8
@@
static int mipi_dsi_lcd_init(struct mipi_dsi_info *mipi_dsi,
return err;
}
+ setting->fbi->mode = mipi_dsi->mode;
+
return 0;
}