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

Commit c3c4c839 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (6876): ivtv: mspx4xx needs a longer i2c udelay

parent 867fee9b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -718,6 +718,9 @@ int init_ivtv_i2c(struct ivtv *itv)
		       sizeof(struct i2c_adapter));
		memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template,
		       sizeof(struct i2c_algo_bit_data));
		/* The mspx4xx chips need a longer delay for some reason */
		if (itv->hw_flags & IVTV_HW_MSP34XX)
			itv->i2c_algo.udelay = 10;
		itv->i2c_algo.data = itv;
		itv->i2c_adap.algo_data = &itv->i2c_algo;
	}