summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-02-04 10:44:11 (GMT)
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-02-04 10:44:11 (GMT)
commitd6c2152b3efd73be265f426b5a1bb50ec436d999 (patch)
treef35b2a9b40c82028a4a2ecd4593d592431db8fc2 /drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
parentee06bd155b081a1895f995ec2777094c7e746152 (diff)
parent811fbb1f580ca024a0af603dfaef08a4d1dcb5ef (diff)
downloadlinux-d6c2152b3efd73be265f426b5a1bb50ec436d999.tar.xz
Merge branches '3.20/fbdev' and '3.20/omapdss' into for-next
Merge fbdev topic branches
Diffstat (limited to 'drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c')
-rw-r--r--drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c b/drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
index 146b6f5..9ddfdd6 100644
--- a/drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
+++ b/drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
@@ -137,8 +137,11 @@ static int omapfb_setup_plane(struct fb_info *fbi, struct omapfb_plane_info *pi)
goto undo;
}
- if (ovl->manager)
- ovl->manager->apply(ovl->manager);
+ if (ovl->manager) {
+ r = ovl->manager->apply(ovl->manager);
+ if (r)
+ goto undo;
+ }
if (pi->enabled) {
r = ovl->enable(ovl);