Skip to content

Commit 9d00cca

Browse files
Ondrej JirmanHans Verkuil
authored andcommitted
media: i2c: dw9714: Fix occasional probe errors
The powerup delay was not observed during probe, leading to occasional I2C communication failures in RPM suspend callback. Power delay is properly observed in resume callback already. Signed-off-by: Ondrej Jirman <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
1 parent 25a3c0c commit 9d00cca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/media/i2c/dw9714.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ static int dw9714_probe(struct i2c_client *client)
157157
return rval;
158158
}
159159

160+
usleep_range(1000, 2000);
161+
160162
v4l2_i2c_subdev_init(&dw9714_dev->sd, client, &dw9714_ops);
161163
dw9714_dev->sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE |
162164
V4L2_SUBDEV_FL_HAS_EVENTS;

0 commit comments

Comments
 (0)