summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2020-06-09 11:29:43 +0200
committerSam Ravnborg <sam@ravnborg.org>2020-06-21 09:58:55 +0200
commit7f757cb6b2fc0ad704d0ca0b7b5a2729aca35580 (patch)
tree790b54a14d3a67605476c478c70abc0555d1d15b /drivers/video
parent8a4f5e1185db61bce6ce3a5dce6381a77bcf94e6 (diff)
downloadlinux-7f757cb6b2fc0ad704d0ca0b7b5a2729aca35580.tar.gz
linux-7f757cb6b2fc0ad704d0ca0b7b5a2729aca35580.tar.bz2
linux-7f757cb6b2fc0ad704d0ca0b7b5a2729aca35580.zip
video: fbdev: uvesafb: fix "noblank" option handling
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
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/uvesafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/uvesafb.c b/drivers/video/fbdev/uvesafb.c
index bee29aadc646..def14ac0ebe1 100644
--- a/drivers/video/fbdev/uvesafb.c
+++ b/drivers/video/fbdev/uvesafb.c
@@ -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))