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

Commit 9dfde557 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Mauro Carvalho Chehab
Browse files

[media] Use smaller i2c transaction size with 18271 tuner



Configure the tda18271 to use a smaller transaction size by default, which
works around some sort of i2c bug in the Polaris driver (which needs to be
debugged).

This should be safe for other boards (being in tuner-core means it will be
enabled by default), although testing needs to be done.

Signed-off-by: default avatarDevin Heitmueller <dheitmueller@hauppauge.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 761f6cf6
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -427,6 +427,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
	{
	{
		struct tda18271_config cfg = {
		struct tda18271_config cfg = {
			.config = t->config,
			.config = t->config,
			.small_i2c = TDA18271_08_BYTE_CHUNK_INIT,
		};
		};


		if (!dvb_attach(tda18271_attach, &t->fe, t->i2c->addr,
		if (!dvb_attach(tda18271_attach, &t->fe, t->i2c->addr,