summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/fbdev/mxsfb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/fbdev/mxsfb.c b/drivers/video/fbdev/mxsfb.c
index 927a85577a55..b756c969c36c 100644
--- a/drivers/video/fbdev/mxsfb.c
+++ b/drivers/video/fbdev/mxsfb.c
@@ -1416,6 +1416,10 @@ static int mxsfb_init_fbinfo_dt(struct mxsfb_info *host)
INIT_LIST_HEAD(&fb_info->modelist);
for (i = 0; i < timings->num_timings; i++) {
+ /* Only consider native mode */
+ if (i != timings->native_mode)
+ continue;
+
ret = videomode_from_timings(timings, &vm, i);
if (ret < 0)
goto put_display_node;