V4L/DVB (9272): mxl5005s: Bug fix stopped DVB-T from working the second time around.
authorJose Alberto Reguero <jareguero@telefonica.net>
Mon, 13 Oct 2008 21:23:49 +0000 (18:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 17 Oct 2008 20:30:33 +0000 (17:30 -0300)
commitca341e4d1b07ac9077b448c623ec256c89a2e080
treefff806c2d9368441cb233b6fe3c6ea1e7a1cdc77
parent96b7a1a838fb5b8746fc22f4ff3cef358bf59f35
V4L/DVB (9272): mxl5005s: Bug fix stopped DVB-T from working the second time around.

Jose reported:

I am using a Avermedia Volar X with af9015 driver(DVB-T).

The first time you use the card, first call reconfigure with MXL_QAM,
and when tune DVB-T it calls reconfigure with MXL_DVBT. But if you close
the frontend and open again, it calls reconfigure with MXL_QAM, but not
call reconfigure with MXL_DVBT because state->current_mode don't change
(is MXL_DVBT).

Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net>
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/mxl5005s.c