summaryrefslogtreecommitdiff
path: root/drivers/video/mxc/mxc_ipuv3_fb.c
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-04-16 08:58:19 -0500
commit7c569f78adc753a81044f8394876c0634499caf3 (patch)
treee69ea325403f818ffa1d4f63db6f4b0be8ca071d /drivers/video/mxc/mxc_ipuv3_fb.c
parentfd3b9e723eb9847f5848c582a691903f2db7fa4d (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>
Diffstat (limited to 'drivers/video/mxc/mxc_ipuv3_fb.c')
-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 7923d229a9dd..9d074f9e7a80 100644
--- a/drivers/video/mxc/mxc_ipuv3_fb.c
+++ b/drivers/video/mxc/mxc_ipuv3_fb.c
@@ -1351,6 +1351,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;