diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2008-02-06 04:39:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:15 -0500 |
commit | 162b3a084904a1d6ef1553782b8573885d5f900b (patch) | |
tree | d525a8f16852d80175555d3e28c52fb1f7d98bc0 /security/root_plug.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 'security/root_plug.c')
0 files changed, 0 insertions, 0 deletions