fbdev: Fix Sharp UXGA checking
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.
Signed-off-by Antonino Daplas <[email protected]>
---
drivers/video/fbmon.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/video/fbmon.c +2 -1
@@ -183,10 +183,11 @@ static int check_edid(unsigned char *edibreak ;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