]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: au8522: fix case where we don't perform the first tune after going digital
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Thu, 18 Feb 2010 01:51:46 +0000 (22:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:46:22 +0000 (00:46 -0300)
commit362fae97fe7c6737cfecf44ad203a8362517f92a
treeabf2daf6da84f96e247d2d74291215978f5aa0c2
parent5653a6d068165d7345bfeeb414b30776781de1f3
V4L/DVB: au8522: fix case where we don't perform the first tune after going digital

Address a problem found in MythTV where if we are in digital mode, switch to
analog mode, and the switch back to digital mode, the first tuning request
after switching back to digital mode gets dropped.  This is because the au8522
maintains internal state, and would think the demod was already tuned to the
target frequency.

Thanks to Zaphod Beeblebrox for reporting this issue.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/au8522_decoder.c
drivers/media/dvb/frontends/au8522_dig.c