freescale DIU: bug fix: add sanity check for AOI position
authorYork Sun <yorksun@freescale.com>
Fri, 15 Aug 2008 07:40:29 +0000 (00:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Aug 2008 15:35:43 +0000 (08:35 -0700)
commitfdfaa4833f984c6f8d44afb1fed6c0c775e6e67b
tree477d1d2721b1cefb405052ed1dbc814be4dcdb3d
parentae5591e3f4754478b397a4e09ebd7cf4774ef88e
freescale DIU: bug fix: add sanity check for AOI position

AOI position cannot be negative.

Signed-off-by: York Sun <yorksun@freescale.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fsl-diu-fb.c