diff mbox

Fix EDID macros H_SYNC_WIDTH and H_SYNC_OFFSET

Message ID 4D5830E8.50900@decky.cz (mailing list archive)
State Accepted
Headers show

Commit Message

Martin Decky Feb. 13, 2011, 7:28 p.m. UTC
None
diff mbox

Patch

diff -Naurp fbdev-2.6.orig/drivers/video/edid.h fbdev-2.6/drivers/video/edid.h
--- fbdev-2.6.orig/drivers/video/edid.h	2011-02-13 19:45:22.000000000 +0100
+++ fbdev-2.6/drivers/video/edid.h	2011-02-13 19:56:02.080350929 +0100
@@ -101,8 +101,8 @@ 
  #define V_SYNC_WIDTH       COMBINE_HI_4LO( V_SYNC_WIDTH_HI, V_SYNC_WIDTH_LO )
  #define V_SYNC_OFFSET      COMBINE_HI_4LO( V_SYNC_OFFSET_HI, V_SYNC_OFFSET_LO )

-#define H_SYNC_WIDTH       COMBINE_HI_4LO( H_SYNC_WIDTH_HI, H_SYNC_WIDTH_LO )
-#define H_SYNC_OFFSET      COMBINE_HI_4LO( H_SYNC_OFFSET_HI, H_SYNC_OFFSET_LO )
+#define H_SYNC_WIDTH       COMBINE_HI_8LO( H_SYNC_WIDTH_HI, H_SYNC_WIDTH_LO )
+#define H_SYNC_OFFSET      COMBINE_HI_8LO( H_SYNC_OFFSET_HI, H_SYNC_OFFSET_LO )

  #define H_SIZE_LO          (unsigned)block[ 12 ]
  #define V_SIZE_LO          (unsigned)block[ 13 ]