summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/drxk.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-24 21:59:20 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-05 04:49:10 +0400
commit534e04810304a9c6715220b392aa387197d5fa15 (patch)
tree32ca6f83d678ec979a84d6c7b149e7dbb7f480e7 /drivers/media/dvb/frontends/drxk.h
parent0d3e6fe7cb1b80719dbacfbfb0f668e2971e8a5f (diff)
downloadlinux-534e04810304a9c6715220b392aa387197d5fa15.tar.xz
[media] drxk: Add support for parallel mode and prints mpeg mode
While the driver has support for both serial and parallel mode, There's was way to select serial mode via configuration. Add a config option for that, while keeping the default in serial mode. Also, at debug mode, it will now print a message when mpeg is enabled/disabled, and showing if parallel or serial mode were selected, helping developers to double-check if the DRX-K is at the right mode. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/drxk.h')
-rw-r--r--drivers/media/dvb/frontends/drxk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/drxk.h b/drivers/media/dvb/frontends/drxk.h
index e6d42e271b89..870432ffcce1 100644
--- a/drivers/media/dvb/frontends/drxk.h
+++ b/drivers/media/dvb/frontends/drxk.h
@@ -8,6 +8,8 @@
* struct drxk_config - Configure the initial parameters for DRX-K
*
* adr: I2C Address of the DRX-K
+ * parallel_ts: true means that the device uses parallel TS,
+ * Serial otherwise.
* single_master: Device is on the single master mode
* no_i2c_bridge: Don't switch the I2C bridge to talk with tuner
* antenna_gpio: GPIO bit used to control the antenna
@@ -22,6 +24,7 @@ struct drxk_config {
u8 adr;
bool single_master;
bool no_i2c_bridge;
+ bool parallel_ts;
bool antenna_dvbt;
u16 antenna_gpio;