|
@@ -785,6 +785,8 @@ static int mx2_camera_set_bus_param(struct soc_camera_device *icd,
|
|
if (ret < 0)
|
|
if (ret < 0)
|
|
return ret;
|
|
return ret;
|
|
|
|
|
|
|
|
+ if (common_flags & SOCAM_PCLK_SAMPLE_RISING)
|
|
|
|
+ csicr1 |= CSICR1_REDGE;
|
|
if (common_flags & SOCAM_PCLK_SAMPLE_FALLING)
|
|
if (common_flags & SOCAM_PCLK_SAMPLE_FALLING)
|
|
csicr1 |= CSICR1_INV_PCLK;
|
|
csicr1 |= CSICR1_INV_PCLK;
|
|
if (common_flags & SOCAM_VSYNC_ACTIVE_HIGH)
|
|
if (common_flags & SOCAM_VSYNC_ACTIVE_HIGH)
|