]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (9315): s5h1411: Skip reconfiguring demod modulation if already at the desire...
authorDevin Heitmueller <devin.heitmueller@gmail.com>
Mon, 20 Oct 2008 13:19:07 +0000 (10:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 Oct 2008 16:31:04 +0000 (14:31 -0200)
commit50eac6bc466f69e1ecb3a1b64346ed7b979547ac
tree4f91152df4e8713c5b628bedde28c0ca0272a714
parentf0d041e50bc6c8a677922d72b010f80af9b23b18
V4L/DVB (9315): s5h1411: Skip reconfiguring demod modulation if already at the desired modulation

If we are already at the desired modulation, there is no need to reconfigure
the demod (at a tuning time cost)

Note that this change revealed that although the datasheet says the demod
starts out in VSB-8 mode, the first tuning was failing consistently unless
we went through the work of setting the registers.  So add a field to denote
this case so we always do the enable_frontend call, even if the first tuning
request is for VSB-8.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/s5h1411.c