History

fbmon: use VESA_DMT_VSYNC_HIGH to fix typo

VESA_DMT_VSYNC_HIGH should be used instead of VESA_DMT_HSYNC_HIGH, because FB_SYNC_VERT_HIGH_ACT is related to vsync, not to hsync.

Jingoo Han committed 13 years ago

Commit 477fc031 parent 07961ac1 file · +1 −1Browse files

Unified · Split

drivers/video/fbmon.c+1−1
@@ -1400,7 +1400,7 @@ int fb_videomode_from_videomode(const struct videomode *vm, · 1399 unmodified lines
14001400 fbmode->vmode = 0;
14011401 if (vm->dmt_flags & VESA_DMT_HSYNC_HIGH)
14021402 fbmode->sync |= FB_SYNC_HOR_HIGH_ACT;
1403− if (vm->dmt_flags & VESA_DMT_HSYNC_HIGH)
1403+ if (vm->dmt_flags & VESA_DMT_VSYNC_HIGH)
14041404 fbmode->sync |= FB_SYNC_VERT_HIGH_ACT;
14051405 if (vm->data_flags & DISPLAY_FLAGS_INTERLACED)
14061406 fbmode->vmode |= FB_VMODE_INTERLACED;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t