From: Michael Grzeschik Date: Tue, 3 Aug 2010 09:37:55 +0000 (-0300) Subject: V4L/DVB: mx2_camera: add rising edge for pixclock X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d86097e19cef2f13a29fc37db0dad17b99b6d5f8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git V4L/DVB: mx2_camera: add rising edge for pixclock Signed-off-by: Michael Grzeschik Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/video/mx2_camera.c index 8441ecac6b18..66ff174151b5 100644 --- a/drivers/media/video/mx2_camera.c +++ b/drivers/media/video/mx2_camera.c @@ -785,6 +785,8 @@ static int mx2_camera_set_bus_param(struct soc_camera_device *icd, if (ret < 0) return ret; + if (common_flags & SOCAM_PCLK_SAMPLE_RISING) + csicr1 |= CSICR1_REDGE; if (common_flags & SOCAM_PCLK_SAMPLE_FALLING) csicr1 |= CSICR1_INV_PCLK; if (common_flags & SOCAM_VSYNC_ACTIVE_HIGH)