diff options
Diffstat (limited to 'drivers/media/video/ov772x.c')
-rw-r--r-- | drivers/media/video/ov772x.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c index 99dd943aacf3..110cb9be09d6 100644 --- a/drivers/media/video/ov772x.c +++ b/drivers/media/video/ov772x.c | |||
@@ -716,12 +716,12 @@ static int ov772x_set_bus_param(struct soc_camera_device *icd, | |||
716 | static unsigned long ov772x_query_bus_param(struct soc_camera_device *icd) | 716 | static unsigned long ov772x_query_bus_param(struct soc_camera_device *icd) |
717 | { | 717 | { |
718 | struct ov772x_priv *priv = container_of(icd, struct ov772x_priv, icd); | 718 | struct ov772x_priv *priv = container_of(icd, struct ov772x_priv, icd); |
719 | 719 | struct soc_camera_link *icl = priv->client->dev.platform_data; | |
720 | return SOCAM_PCLK_SAMPLE_RISING | | 720 | unsigned long flags = SOCAM_PCLK_SAMPLE_RISING | SOCAM_MASTER | |
721 | SOCAM_HSYNC_ACTIVE_HIGH | | 721 | SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_HSYNC_ACTIVE_HIGH | |
722 | SOCAM_VSYNC_ACTIVE_HIGH | | ||
723 | SOCAM_MASTER | | ||
724 | priv->info->buswidth; | 722 | priv->info->buswidth; |
723 | |||
724 | return soc_camera_apply_sensor_flags(icl, flags); | ||
725 | } | 725 | } |
726 | 726 | ||
727 | static int ov772x_get_chip_id(struct soc_camera_device *icd, | 727 | static int ov772x_get_chip_id(struct soc_camera_device *icd, |