]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] dvb-frontends/stv0367: make full reinit on set_frontend() optional
authorDaniel Scheller <d.scheller@gmx.net>
Wed, 29 Mar 2017 16:43:06 +0000 (13:43 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 20 Jun 2017 12:22:39 +0000 (09:22 -0300)
commit7718dcf06ed17b18e8a4c6d78f10235eac02414b
treef1aaff35c0adbf273642f0d4a96023980295b0da
parent8a9c07359ce5eddb40da444a01aabe177d370b3a
[media] dvb-frontends/stv0367: make full reinit on set_frontend() optional

Every time dvb_frontend_ops.set_frontend() is called, an almost full reinit
of the demodulator will be performed. While this might cause a slight delay
when switching channels due to all involved tables being rewritten, it can
even be dangerous in certain causes in that the demod may lock up and
requires to be powercycled (this can happen on Digital Devices hardware).
So this adds a flag if it should be done, and to not change behaviour with
existing card support, it'll be enabled in all cases.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/stv0367.c