summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/m88ds3103.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-12-02 13:11:21 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-19 09:22:29 -0200
commit58b7450d56cacaa12d82ff9e2f5b461f65f2ade0 (patch)
tree0871ad6078aa1b50060bcec187c0ab408ddd1977 /drivers/media/dvb-frontends/m88ds3103.h
parentc19314b09bc0839736f2c74422b21de36a86e7b7 (diff)
downloadlinux-58b7450d56cacaa12d82ff9e2f5b461f65f2ade0.tar.gz
linux-58b7450d56cacaa12d82ff9e2f5b461f65f2ade0.tar.bz2
linux-58b7450d56cacaa12d82ff9e2f5b461f65f2ade0.zip
[media] m88ds3103: remove unneeded AGC from inittab
Optimal AGC is highly depended on used RF tuner and due to that it is already included to chip configuration. However, inittab has default AGC value, which was later replaced by one from config. Add also comment to all chip configuration options about default values and if those are needed to set or not. Reported-by: David Howells <dhowells@redhat.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/m88ds3103.h')
-rw-r--r--drivers/media/dvb-frontends/m88ds3103.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/m88ds3103.h b/drivers/media/dvb-frontends/m88ds3103.h
index 287d62a4ba7f..eaa5d10921d3 100644
--- a/drivers/media/dvb-frontends/m88ds3103.h
+++ b/drivers/media/dvb-frontends/m88ds3103.h
@@ -26,26 +26,28 @@
struct m88ds3103_config {
/*
* I2C address
+ * Default: none, must set
* 0x68, ...
*/
u8 i2c_addr;
/*
* clock
+ * Default: none, must set
* 27000000
*/
u32 clock;
/*
* max bytes I2C provider is asked to write at once
- * Note: Buffer is taken from the stack currently!
- * Value must be set.
+ * Default: none, must set
* 33, 65, ...
*/
u16 i2c_wr_max;
/*
* TS output mode
+ * Default: M88DS3103_TS_SERIAL
*/
#define M88DS3103_TS_SERIAL 0 /* TS output pin D0, normal */
#define M88DS3103_TS_SERIAL_D7 1 /* TS output pin D7 */
@@ -58,16 +60,19 @@ struct m88ds3103_config {
/*
* spectrum inversion
+ * Default: 0
*/
u8 spec_inv:1;
/*
* AGC polarity
+ * Default: 0
*/
u8 agc_inv:1;
/*
* clock output
+ * Default: M88DS3103_CLOCK_OUT_DISABLED
*/
#define M88DS3103_CLOCK_OUT_DISABLED 0
#define M88DS3103_CLOCK_OUT_ENABLED 1
@@ -76,9 +81,14 @@ struct m88ds3103_config {
/*
* DiSEqC envelope mode
+ * Default: 0
*/
u8 envelope_mode:1;
+ /*
+ * AGC configuration
+ * Default: none, must set
+ */
u8 agc;
};