Fix edid hsync offset and width parsing.
PATCH 1/1 Fix edid hsync offset and width parsing.
Signed-off-by Troy Kisky <[email protected]>
I cannot test this, but it looks like a bug fix.
--- drivers/video/edid.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/video/edid.h +2 -2
@@ -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 ]
Signature · 9 lines
1.5.4.3 ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p