]> git.baikalelectronics.ru Git - kernel.git/commit
[media] au8522: bug-fix: enable modulation AFTER tune (instead of before tuning)
authorMichael Krufky <mkrufky@kernellabs.com>
Mon, 12 Mar 2012 20:07:22 +0000 (17:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 19 Mar 2012 22:05:46 +0000 (19:05 -0300)
commit2890ec303e8846b18ef7bd7c2b244e6870f03134
treed7fc47a22357a4ecd11039846bbc0ec423c03695
parent37da89f3149cc17197ef1a02296f025996e04cec
[media] au8522: bug-fix: enable modulation AFTER tune (instead of before tuning)

The au8522 driver programs the tuner after programming the demodulator,
but the tuner should be programmed first. This patch fixes this behavior.

EDIT: Apparantly Devin created a similar patch some time ago, but hasn't
submitted it for merge.  I never saw his patch, but I thank him anyhow
for his efforts.  In addition, Devin pointed out a flaw in my patch:

This newly generated patch takes Devin's comments into account.

Thanks-to: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/au8522_dig.c