X-Git-Url: http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=blobdiff_plain;f=drivers%2Fvideo%2Fof_display_timing.c;h=b253875e99c74aebe60172169d33a371fca076e9;hp=e393412faf6637788222a4e3f3c8adf473644c62;hb=e3656e494d8c9c2af801a70c68e39186033a079e;hpb=5da8903539b59b75c0244c9d076759fdf2e04349 diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c index e393412faf66..b253875e99c7 100644 --- a/drivers/video/of_display_timing.c +++ b/drivers/video/of_display_timing.c @@ -107,6 +107,10 @@ static int of_parse_display_timing(const struct device_node *np, dt->flags |= val ? DISPLAY_FLAGS_SWAP_RB : 0; if (!of_property_read_u32(np, "screen-type", &val)) dt->screen_type = val; + if (!of_property_read_u32(np, "refresh-mode", &val)) + dt->refresh_mode = val; + else + dt->refresh_mode = 0; if (!of_property_read_u32(np, "lvds-format", &val)) dt->lvds_format = val; if (!of_property_read_u32(np, "out-face", &val))