]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[media] dvb-frontends/cxd2841er: make lock wait in set_fe_tc() optional
authorDaniel Scheller <d.scheller@gmx.net>
Sun, 9 Apr 2017 19:38:21 +0000 (16:38 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 12:55:07 +0000 (09:55 -0300)
commite3943aa6d8023bbd0ce972367b8c9eb1b43321e0
tree5fd10bd7f34b14bbf111c8d2532fad16fdcfa58f
parent763f857e40f3711355f42e666cfdd232390d4e55
[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>
drivers/media/dvb-frontends/cxd2841er.c
drivers/media/dvb-frontends/cxd2841er.h