Skip to contentSkip to conversation

fbdev: Fix Sharp UXGA checking

PATCH New Antonino A. Daplas 1 participant 1 message Mar 5, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 fbdev: Fix Sharp UXGA checking

If the Ultrasharp UXGA is detected, the check function returns a nonzero value. It should return the type of fix instead.

---

 drivers/video/fbmon.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/video/fbmon.c +2 -1
index 05a9464..438b941 100644
@@ -183,10 +183,11 @@ static int check_edid(unsigned char *edi
 		break;
 	case FBMON_FIX_TIMINGS:
 		b = edid + DETAILED_TIMING_DESCRIPTIONS_START;
+		ret = fix;
 
 		for (i = 0; i < 4; i++) {
 			if (edid_is_limits_block(b)) {
-				ret = fix;
+				ret = 0;
 				break;
 			}
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV