]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mb86a20s: Always reset the frontend with set_frontend
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 2 Mar 2013 16:45:31 +0000 (13:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 19:34:31 +0000 (16:34 -0300)
commit648424dfeb2a33786a810f80e9889532730ce66d
tree5ba8729ab46d3d78d04a4324cd3e5b24d79b1634
parent03cae424c472f3b00cff0509127cf52e10637734
[media] mb86a20s: Always reset the frontend with set_frontend

Always init the frontend when set_frontend is called. The rationale
is: it was noticed that, on some devices, it fails to lock with a
different channel. It seems that some other registers need to be
restored to its initial state, when the channel changes.
As it is better to reset everything, even wasting a few more
miliseconds than to loose channel lock, let's change the logic
to always reset.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/mb86a20s.c