From: Afzal Mohammed Date: Mon, 5 Aug 2013 22:02:20 +0000 (-0500) Subject: video: da8xx-fb: fb_check_var enhancement X-Git-Tag: v3.12-rc1~137^2~13^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87dac71d6d6bb1ee639f7db663dae59bc6db72b5;p=pandora-kernel.git video: da8xx-fb: fb_check_var enhancement Check whether "struct fb_var_screeninfo" fields are sane, if not update it to be within allowed limits. If user sends down buggy "var" values, this will bring those within allowable limits. And fb_set_par is not supposed to change "var" values, fb_check_var has to ensure that values are proper. Signed-off-by: Afzal Mohammed Signed-off-by: Darren Etheridge Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed