diff options
author | Julien Olivain <julien.olivain@freescale.com> | 2014-04-10 05:18:50 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:58:19 -0400 |
commit | 7c569f78adc753a81044f8394876c0634499caf3 (patch) | |
tree | e69ea325403f818ffa1d4f63db6f4b0be8ca071d | |
parent | fd3b9e723eb9847f5848c582a691903f2db7fa4d (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>
-rw-r--r-- | drivers/video/mxc/mxc_ipuv3_fb.c | 1 |
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) | |||
1351 | return -EFAULT; | 1351 | return -EFAULT; |
1352 | ipu_set_csc_coefficients(mxc_fbi->ipu, mxc_fbi->ipu_ch, | 1352 | ipu_set_csc_coefficients(mxc_fbi->ipu, mxc_fbi->ipu_ch, |
1353 | csc.param); | 1353 | csc.param); |
1354 | break; | ||
1354 | } | 1355 | } |
1355 | default: | 1356 | default: |
1356 | retval = -EINVAL; | 1357 | retval = -EINVAL; |