summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ov23850.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/i2c/ov23850.c')
-rw-r--r--drivers/media/i2c/ov23850.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/ov23850.c b/drivers/media/i2c/ov23850.c
index 203888700..0c3768c4f 100644
--- a/drivers/media/i2c/ov23850.c
+++ b/drivers/media/i2c/ov23850.c
@@ -1328,6 +1328,7 @@ static int ov23850_probe(struct i2c_client *client,
1328 priv->s_data = common_data; 1328 priv->s_data = common_data;
1329 priv->subdev = &common_data->subdev; 1329 priv->subdev = &common_data->subdev;
1330 priv->subdev->dev = &client->dev; 1330 priv->subdev->dev = &client->dev;
1331 priv->s_data->dev = &client->dev;
1331 priv->group_hold_prev = 0; 1332 priv->group_hold_prev = 0;
1332 1333
1333 err = ov23850_power_get(priv); 1334 err = ov23850_power_get(priv);