Skip to contentSkip to conversation

video: fbomn: fix type VESA_DMT_VSYNC_HIGH

PATCH New Jean-Christophe PLAGNIOL-VILLARD 2 participants 3 messages Mar 28, 2013 – Mar 29, 2013 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video: fbomn: fix type VESA_DMT_VSYNC_HIGH

it's VESA_DMT_VSYNC_HIGH not VESA_DMT_HSYNC_HIGH
to check to enable the FB_SYNC_VERT_HIGH_ACT

Cc Andrew Morton <[email protected]>
Cc linux-fbdev at vger.kernel.org
---
 drivers/video/fbmon.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbmon.c +1 -1
index 94ad0f7..7f67099 100644
@@ -1400,7 +1400,7 @@ int fb_videomode_from_videomode(const struct videomode *vm,
 	fbmode->vmode = 0;
 	if (vm->dmt_flags & VESA_DMT_HSYNC_HIGH)
 		fbmode->sync |= FB_SYNC_HOR_HIGH_ACT;
-	if (vm->dmt_flags & VESA_DMT_HSYNC_HIGH)
+	if (vm->dmt_flags & VESA_DMT_VSYNC_HIGH)
 		fbmode->sync |= FB_SYNC_VERT_HIGH_ACT;
 	if (vm->data_flags & DISPLAY_FLAGS_INTERLACED)
 		fbmode->vmode |= FB_VMODE_INTERLACED;
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 video: fbomn: fix type VESA_DMT_VSYNC_HIGH

Quoted 7 lines · Jean-Christophe PLAGNIOL-VILLARD

it's VESA_DMT_VSYNC_HIGH not VESA_DMT_HSYNC_HIGH
to check to enable the FB_SYNC_VERT_HIGH_ACT

Cc Andrew Morton <[email protected]>
Cc linux-fbdev at vger.kernel.org

CC'ed Steffen Trumtrar.

The same patch was already submitted as below:
(https://patchwork.kernel.org/patch/2183811/)

I will resend this patch, soon.

Best regards,
Jingoo Han

Quoted 24 lines
---
 drivers/video/fbmon.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbmon.c +1 -2
index 94ad0f7..7f67099 100644
@@ -1400,7 +1400,7 @@ int fb_videomode_from_videomode(const struct videomode *vm,
 	fbmode->vmode = 0;
 	if (vm->dmt_flags & VESA_DMT_HSYNC_HIGH)
 		fbmode->sync |= FB_SYNC_HOR_HIGH_ACT;
-	if (vm->dmt_flags & VESA_DMT_HSYNC_HIGH)
+	if (vm->dmt_flags & VESA_DMT_VSYNC_HIGH)
 		fbmode->sync |= FB_SYNC_VERT_HIGH_ACT;
 	if (vm->data_flags & DISPLAY_FLAGS_INTERLACED)
 		fbmode->vmode |= FB_VMODE_INTERLACED;
--

1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

PATCH 1/1 video: fbomn: fix type VESA_DMT_VSYNC_HIGH

Quoted 9 lines · Jingoo Han
Quoted 7 lines · Jean-Christophe PLAGNIOL-VILLARD

it's VESA_DMT_VSYNC_HIGH not VESA_DMT_HSYNC_HIGH
to check to enable the FB_SYNC_VERT_HIGH_ACT

Cc Andrew Morton <[email protected]>
Cc linux-fbdev at vger.kernel.org
Quoted 6 lines

CC'ed Steffen Trumtrar.

The same patch was already submitted as below:
(https://patchwork.kernel.org/patch/2183811/)

I will resend this patch, soon.

did not see ok

so

Best Regards,
J.