diff options
author | Julien Olivain <julien.olivain@freescale.com> | 2014-04-10 11:18:50 +0200 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-08-27 18:11:48 -0500 |
commit | 2364415a4e3f45a2c089cfb68d15c56b87889f36 (patch) | |
tree | 1a3800d8c2c6856340268c00cec5ea70671e4027 | |
parent | e482e5dc81a9d902b90258b3da500b7c23ebf0b2 (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) return -EFAULT; ipu_set_csc_coefficients(mxc_fbi->ipu, mxc_fbi->ipu_ch, csc.param); + break; } default: retval = -EINVAL; |