diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2008-02-06 01:39:11 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:15 -0800 |
commit | 162b3a084904a1d6ef1553782b8573885d5f900b (patch) | |
tree | d525a8f16852d80175555d3e28c52fb1f7d98bc0 /drivers/ata/sata_vsc.c | |
parent | 529e55b6a57bda6df9e45eb268589efc70f63303 (diff) |
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 <hskinnemoen@atmel.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/sata_vsc.c')
0 files changed, 0 insertions, 0 deletions