aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-01-30 03:19:56 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-13 14:25:04 -0500
commitd6646b8075f8110ac167f335d660b8a544dd324e (patch)
treec86798d9b2b89a0de2eb2995b97c0a7343999bee /drivers/media
parentcdc69ae98b3d8ff337c564e16f497c8816d1a51b (diff)
[media] sh-mobile-ceu-camera: fix SHARPNESS control default
The V4L2_CID_SHARPNESS control in the sh-mobile-ceu-camera driver, if off, turns the CEU low-pass filter on. This is the opposite to the hardware default and can degrade image quality. Switch default to on to restore the default unfiltered mode. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c b/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
index 602584dc9330..bb08a46432f4 100644
--- a/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
+++ b/drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
@@ -1064,7 +1064,7 @@ static int sh_mobile_ceu_get_formats(struct soc_camera_device *icd, unsigned int
1064 1064
1065 /* Add our control */ 1065 /* Add our control */
1066 v4l2_ctrl_new_std(&icd->ctrl_handler, &sh_mobile_ceu_ctrl_ops, 1066 v4l2_ctrl_new_std(&icd->ctrl_handler, &sh_mobile_ceu_ctrl_ops,
1067 V4L2_CID_SHARPNESS, 0, 1, 1, 0); 1067 V4L2_CID_SHARPNESS, 0, 1, 1, 1);
1068 if (icd->ctrl_handler.error) 1068 if (icd->ctrl_handler.error)
1069 return icd->ctrl_handler.error; 1069 return icd->ctrl_handler.error;
1070 1070