projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modedb: fix incorrect sync and vmode flags for CVT modes
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
video
/
modedb.c
diff --git
a/drivers/video/modedb.c
b/drivers/video/modedb.c
index 473562191586f2101d169d8fb765b7b21ef4d2e4..d1bbef930dfa616293b9bf33cf407a6a5c65825d 100644
(file)
--- a/
drivers/video/modedb.c
+++ b/
drivers/video/modedb.c
@@
-590,6
+590,7
@@
done:
"", (margins) ? " with margins" : "", (interlace) ?
" interlaced" : "");
"", (margins) ? " with margins" : "", (interlace) ?
" interlaced" : "");
+ memset(&cvt_mode, 0, sizeof(cvt_mode));
cvt_mode.xres = xres;
cvt_mode.yres = yres;
cvt_mode.refresh = (refresh) ? refresh : 60;
cvt_mode.xres = xres;
cvt_mode.yres = yres;
cvt_mode.refresh = (refresh) ? refresh : 60;