summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJulien Olivain <julien.olivain@freescale.com>2014-04-10 11:18:50 +0200
committerNitin Garg <nitin.garg@freescale.com>2014-06-03 23:02:11 -0500
commit87849f43e804df9c9d4b16db4480facd76f41799 (patch)
tree9031be2b1e49bd846af599aed10bcaac7901cd8f /drivers
parent2fbc82fa1f57323a517c970d0e64181d800b0919 (diff)
ENGR00307848 MXC IPUv3 fb: Fix MXCFB_CSC_UPDATE ioctl()
Add a missing 'break' in the MXCFB_CSC_UPDATE case in mxcfb_ioctl(), to prevent it to always return EINVAL (Invalid argument). Acked-by: Liu Ying <Ying.Liu@freescale.com> Signed-off-by: Julien Olivain <julien.olivain@freescale.com> (cherry picked from commit 2a3d32bedb04c1e195b8ef4c33c9738fb0cf31e7)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/mxc/mxc_ipuv3_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/mxc/mxc_ipuv3_fb.c b/drivers/video/mxc/mxc_ipuv3_fb.c
index 35d3d1786075..4b3d207e7f2a 100644
--- a/drivers/video/mxc/mxc_ipuv3_fb.c
+++ b/drivers/video/mxc/mxc_ipuv3_fb.c
@@ -1333,6 +1333,7 @@ static int mxcfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg)
return -EFAULT;
ipu_set_csc_coefficients(mxc_fbi->ipu, mxc_fbi->ipu_ch,
csc.param);
+ break;
}
default:
retval = -EINVAL;