From: Haavard Skinnemoen Date: Wed, 6 Feb 2008 09:39:11 +0000 (-0800) Subject: atmel_lcdfb: validate display timings X-Git-Tag: v2.6.25-rc1~590 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=162b3a084904a1d6ef1553782b8573885d5f900b;p=pandora-kernel.git atmel_lcdfb: validate display timings Setting a display timing parameter too high or too low may cause it to wrap around and thus become completely wrong. Validate the timings in atmel_lcdfb_check_var() and saturate to the highest or lowest possible value if necessary. Signed-off-by: Haavard Skinnemoen Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed