]> git.karo-electronics.de Git - karo-tx-linux.git/commit
omapfb: Return error code when applying overlay settings fails
authorPeter Meerwald <pmeerw@pmeerw.net>
Fri, 30 Jan 2015 07:59:46 +0000 (08:59 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 4 Feb 2015 10:41:53 +0000 (12:41 +0200)
commit811fbb1f580ca024a0af603dfaef08a4d1dcb5ef
tree0a24b979abbe6070764198a9380d533af9f6fbb2
parenta2408154a14b5633b1f233e4b5fea85c09917eef
omapfb: Return error code when applying overlay settings fails

the check of the return code is missing, user space does not get notified
about the error condition:

omapdss OVERLAY error: overlay 2 horizontally not inside the display area (403 + 800 >= 800)
omapdss APPLY error: failed to apply settings: illegal configuration.

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c