summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/cxd2841er.h
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2017-04-09 22:38:20 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-20 15:54:17 +0300
commit763f857e40f3711355f42e666cfdd232390d4e55 (patch)
tree09e304b6010d2c178556f10999cdfe92a8f01230 /drivers/media/dvb-frontends/cxd2841er.h
parent7afe510ab23781d5453101c43756dcd922f0e351 (diff)
downloadlinux-763f857e40f3711355f42e666cfdd232390d4e55.tar.xz
[media] dvb-frontends/cxd2841er: optionally tune earlier in set_frontend()
When AUTO_IFHZ is set and the tuner is supposed to provide proper IF speed values, it should be possible to have the tuner setup take place before the demod is configured, else the demod might be configured with either wrong (old), or even no values at all, which obviously will cause issues. To set this behaviour in the most flexible way, this is done with a separate flag instead of making this depend on AUTO_IFHZ. It should be evaluated if tuning shouldn't take place earlier in all cases and hardware constellations. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Acked-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2841er.h')
-rw-r--r--drivers/media/dvb-frontends/cxd2841er.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/cxd2841er.h b/drivers/media/dvb-frontends/cxd2841er.h
index 90ced9733ab9..061e5519ffc9 100644
--- a/drivers/media/dvb-frontends/cxd2841er.h
+++ b/drivers/media/dvb-frontends/cxd2841er.h
@@ -28,6 +28,7 @@
#define CXD2841ER_AUTO_IFHZ 2 /* bit 1 */
#define CXD2841ER_TS_SERIAL 4 /* bit 2 */
#define CXD2841ER_ASCOT 8 /* bit 3 */
+#define CXD2841ER_EARLY_TUNE 16 /* bit 4 */
enum cxd2841er_xtal {
SONY_XTAL_20500, /* 20.5 MHz */