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:21 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-20 15:55:07 +0300
commite3943aa6d8023bbd0ce972367b8c9eb1b43321e0 (patch)
tree5fd10bd7f34b14bbf111c8d2532fad16fdcfa58f /drivers/media/dvb-frontends/cxd2841er.h
parent763f857e40f3711355f42e666cfdd232390d4e55 (diff)
downloadlinux-e3943aa6d8023bbd0ce972367b8c9eb1b43321e0.tar.xz
[media] dvb-frontends/cxd2841er: make lock wait in set_fe_tc() optional
Don't wait for FE_HAS_LOCK in set_frontend_tc() and thus don't hammer the lock status register with inquiries when CXD2841ER_NO_WAIT_LOCK is set in the configuration, which also unneccessarily blocks applications until a TS LOCK has been acquired. Rather, API and applications will check for a TS LOCK by utilising the tune fe_op, read_status and get_frontend ops, which is sufficient. 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 061e5519ffc9..d77b59f5a839 100644
--- a/drivers/media/dvb-frontends/cxd2841er.h
+++ b/drivers/media/dvb-frontends/cxd2841er.h
@@ -29,6 +29,7 @@
#define CXD2841ER_TS_SERIAL 4 /* bit 2 */
#define CXD2841ER_ASCOT 8 /* bit 3 */
#define CXD2841ER_EARLY_TUNE 16 /* bit 4 */
+#define CXD2841ER_NO_WAIT_LOCK 32 /* bit 5 */
enum cxd2841er_xtal {
SONY_XTAL_20500, /* 20.5 MHz */