mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
video: fbdev: uvesafb: fix "noblank" option handling
Fix the recent regression.
Fixes: dbc7ece12a
("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
This commit is contained in:
parent
8a4f5e1185
commit
7f757cb6b2
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user