Skip to content

Commit 8cf3a0c

Browse files
xuanhao_zhangXuanHao Zhang
authored andcommitted
Workaround: Add delay for IMX219 ready
Only V2.2.0 and after need Change-Id: I3abdcde9ab4053dff50eea871a6900886fe1dc1a
1 parent 7c1b46a commit 8cf3a0c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/media/i2c/imx219.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,6 +1080,7 @@ static int imx219_probe(struct i2c_client *client,
10801080
priv->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_HIGH);
10811081
if (IS_ERR(priv->enable_gpio))
10821082
dev_warn(dev, "Failed to get enable_gpios\n");
1083+
msleep(100);
10831084

10841085
/* 1920 * 1080 by default */
10851086
priv->cur_mode = &supported_modes[0];

0 commit comments

Comments
 (0)