[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)
commita78b41d5fd9a04037c7b29e59c7319035a54a150
tree5ba8729ab46d3d78d04a4324cd3e5b24d79b1634
parent17e67d4c7fb7515ce98d3eb5de00c2575800818b
[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