aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/ov772x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c
index 84b0fc1bb237..34c981933780 100644
--- a/drivers/media/video/ov772x.c
+++ b/drivers/media/video/ov772x.c
@@ -670,7 +670,7 @@ static int ov772x_set_bus_param(struct soc_camera_device *icd,
670static unsigned long ov772x_query_bus_param(struct soc_camera_device *icd) 670static unsigned long ov772x_query_bus_param(struct soc_camera_device *icd)
671{ 671{
672 struct ov772x_priv *priv = container_of(icd, struct ov772x_priv, icd); 672 struct ov772x_priv *priv = container_of(icd, struct ov772x_priv, icd);
673 struct soc_camera_link *icl = priv->client->dev.platform_data; 673 struct soc_camera_link *icl = &priv->info->link;
674 unsigned long flags = SOCAM_PCLK_SAMPLE_RISING | SOCAM_MASTER | 674 unsigned long flags = SOCAM_PCLK_SAMPLE_RISING | SOCAM_MASTER |
675 SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_HSYNC_ACTIVE_HIGH | 675 SOCAM_VSYNC_ACTIVE_HIGH | SOCAM_HSYNC_ACTIVE_HIGH |
676 SOCAM_DATA_ACTIVE_HIGH | priv->info->buswidth; 676 SOCAM_DATA_ACTIVE_HIGH | priv->info->buswidth;