[media] drxd: provide ability to disable the i2c gate control function
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Sun, 13 Mar 2011 05:02:01 +0000 (02:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 10:26:19 +0000 (07:26 -0300)
commit6b142b3c81e6e532dfad7256fcc7e75fded49245
tree8ef7b34726effc8a8b84d70fc32b5bfe28d309bd
parent3e5659067892d94d859f8ae4c1129a84fe4d5244
[media] drxd: provide ability to disable the i2c gate control function

If the tuner is not actually behind an i2c gate, using the i2c gate control
function can wedge the i2c bus.  Provide the ability to control on a per-board
basis whether it should be used.

Problem was noticed on the HVR-900 R2, where it resulted in the first tuning
attempt succeeding, and then all subsequent attempts to access the xc3028
being treated as failures (including the call to sleep the tuner).

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/drxd.h
drivers/media/dvb/frontends/drxd_hard.c
drivers/media/video/em28xx/em28xx-dvb.c