Skip to content

Commit

Permalink
[media] Use smaller i2c transaction size with 18271 tuner
Browse files Browse the repository at this point in the history
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: Devin Heitmueller <dheitmueller@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Devin Heitmueller authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 761f6cf commit 9dfde55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
{
struct tda18271_config cfg = {
.config = t->config,
.small_i2c = TDA18271_08_BYTE_CHUNK_INIT,
};

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

0 comments on commit 9dfde55

Please sign in to comment.