summaryrefslogtreecommitdiff
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@hauppauge.com>2010-07-07 14:33:56 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 03:17:14 (GMT)
commit9dfde5578d1111da96142d16fdfa2039d8992744 (patch)
treebef3d471ac067b8329645c89dd5ceeb2e7a6f326 /drivers/media/video/tuner-core.c
parent761f6cf6425e8024b983ddfa905a4c0002718fbe (diff)
downloadlinux-fsl-qoriq-9dfde5578d1111da96142d16fdfa2039d8992744.tar.xz
[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: Devin Heitmueller <dheitmueller@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index e321466..d14f66f 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -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,