Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b59125b authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mauro Carvalho Chehab
Browse files

soc-camera: mt9t112: modify exiting conditions from standby mode



This polling is needed if camera is in standby mode, but current exiting
condition is inverted.

Signed-off-by: default avatarKuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent fc4a7f93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -514,7 +514,7 @@ static int mt9t112_init_pll(const struct i2c_client *client)
	/* poll to verify out of standby. Must Poll this bit */
	for (i = 0; i < 100; i++) {
		mt9t112_reg_read(data, client, 0x0018);
		if (0x4000 & data)
		if (!(0x4000 & data))
			break;

		mdelay(10);