[PATCH] atmel_lcdfb: Validate display timings

2007-11-29 Thread Haavard Skinnemoen
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 <[EMAIL PROTECTED]> ---

[PATCH] atmel_lcdfb: Validate display timings

2007-11-29 Thread Haavard Skinnemoen
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 [EMAIL PROTECTED] ---