diff options
author | Julien Olivain <julien.olivain@freescale.com> | 2014-04-10 11:18:50 +0200 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 08:58:19 -0500 |
commit | 7c569f78adc753a81044f8394876c0634499caf3 (patch) | |
tree | e69ea325403f818ffa1d4f63db6f4b0be8ca071d /drivers/video | |
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>
Diffstat (limited to 'drivers/video')
-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) return -EFAULT; ipu_set_csc_coefficients(mxc_fbi->ipu, mxc_fbi->ipu_ch, csc.param); + break; } default: retval = -EINVAL; |