[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)
commitef3d2dc366c8c32d58dbbf9898cfd4f853ff8fe0
treed7fc47a22357a4ecd11039846bbc0ec423c03695
parent22f1732fcda5ab62b6da2ddcec282868e7ccb089
[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