video: fbdev: uvesafb: fix "noblank" option handling
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Tue, 9 Jun 2020 09:29:43 +0000 (11:29 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 21 Jun 2020 07:58:55 +0000 (09:58 +0200)
Fix the recent regression.

Fixes: dbc7ece12a38 ("video: uvesafb: use true,false for bool variables")
Cc: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/81c9f140-d6fb-803a-18c8-04dae1007ab3@samsung.com
drivers/video/fbdev/uvesafb.c

index bee29aadc6460e40c73a4d3a6c38b7a34724ac1b..def14ac0ebe14ce85ce9681bc648abe2251bb34e 100644 (file)
@@ -1836,7 +1836,7 @@ static int uvesafb_setup(char *options)
                else if (!strcmp(this_opt, "noedid"))
                        noedid = true;
                else if (!strcmp(this_opt, "noblank"))
-                       blank = true;
+                       blank = false;
                else if (!strncmp(this_opt, "vtotal:", 7))
                        vram_total = simple_strtoul(this_opt + 7, NULL, 0);
                else if (!strncmp(this_opt, "vremap:", 7))