summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-07-25 16:20:37 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-04-15 01:24:40 +0200
commit493fe31555a92fa048ad0edf3f0431591fc21118 (patch)
tree8e24578c41a9945632909974314394ec0b188548
parent3c5b37981bcd0debbd6644f540d2ea521fca3d9e (diff)
Revert "video: fbdev: mxsfb: honor native-mode"
This commit should not be in 4.9 and was accidentally introduced from 4.1 to 4.9 merge. It originally was deleted with commit: "f397f60efbb video: fbdev: mxsfb: allow setting display timings via kernel command line" This reverts commit 0342aaf0e15ffe05eccfcf173cf47b88b008be52.
-rw-r--r--drivers/video/fbdev/mxsfb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/fbdev/mxsfb.c b/drivers/video/fbdev/mxsfb.c
index b756c969c36c..927a85577a55 100644
--- a/drivers/video/fbdev/mxsfb.c
+++ b/drivers/video/fbdev/mxsfb.c
@@ -1416,10 +1416,6 @@ 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;