Commit ee9c9981 authored by Antonino Daplas's avatar Antonino Daplas Committed by Linus Torvalds

[PATCH] fbdev: Fix return code of edid_checksum

edid_checksum always return success (1) although it can fail.  Fix.
Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 273e3112
......@@ -183,7 +183,7 @@ static int edid_check_header(unsigned char *edid)
err = 0;
}
return 1;
return err;
}
static void parse_vendor_block(unsigned char *block, struct fb_monspecs *specs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment