projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
thermal: rockchip: add temperature dump when panic
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
video
/
of_display_timing.c
diff --git
a/drivers/video/of_display_timing.c
b/drivers/video/of_display_timing.c
index 6c2fc91aae0b2877b6f74e9d78f0260104d5f08d..e393412faf6637788222a4e3f3c8adf473644c62 100644
(file)
--- a/
drivers/video/of_display_timing.c
+++ b/
drivers/video/of_display_timing.c
@@
-112,7
+112,11
@@
static int of_parse_display_timing(const struct device_node *np,
if (!of_property_read_u32(np, "out-face", &val))
dt->face = val;
if (!of_property_read_u32(np, "color-mode", &val))
if (!of_property_read_u32(np, "out-face", &val))
dt->face = val;
if (!of_property_read_u32(np, "color-mode", &val))
- dt->color_mode = val;
+ dt->color_mode = val;
+ if (!of_property_read_u32(np, "screen-width", &val))
+ dt->screen_widt = val;
+ if (!of_property_read_u32(np, "screen-hight", &val))
+ dt->screen_hight = val;
prop = of_find_property(np, "dsp-lut", &length);
if (prop) {
dt->dsp_lut = kzalloc(length, GFP_KERNEL);
prop = of_find_property(np, "dsp-lut", &length);
if (prop) {
dt->dsp_lut = kzalloc(length, GFP_KERNEL);