summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/drxk_hard.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-10 11:24:26 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 20:55:50 (GMT)
commit147e110bb69a5eaee83bab133d7f7cc4ee050808 (patch)
tree0be0f35588712e984ba3d5859690c8eb516e365b /drivers/media/dvb/frontends/drxk_hard.h
parentd6a054057781044712bfb0114d2d62d37781ffe9 (diff)
downloadlinux-147e110bb69a5eaee83bab133d7f7cc4ee050808.tar.xz
[media] drxk: Fix the antenna switch logic
Terratec H5 doesn't require to switch mode, but generates an error due to this logic. Also, GPIO's are board-dependent. So, add it at the board config struct. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/drxk_hard.h')
-rw-r--r--drivers/media/dvb/frontends/drxk_hard.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/drxk_hard.h b/drivers/media/dvb/frontends/drxk_hard.h
index b042755..8b29dc8 100644
--- a/drivers/media/dvb/frontends/drxk_hard.h
+++ b/drivers/media/dvb/frontends/drxk_hard.h
@@ -321,16 +321,17 @@ struct drxk_state {
u8 m_deviceSpin;
u32 m_iqmRcRate;
- u16 m_AntennaDVBC;
- u16 m_AntennaDVBT;
- u16 m_AntennaSwitchDVBTDVBC;
-
enum DRXPowerMode m_currentPowerMode;
/* Configurable parameters at the driver */
+ bool m_AntennaSwitchDVBTDVBC;
+ u16 m_AntennaDVBC;
+ u16 m_AntennaDVBT;
+
u32 single_master : 1; /* Use single master i2c mode */
u32 no_i2c_bridge : 1; /* Tuner is not on port 1, don't use I2C bridge */
+
const char *microcode_name;
};