V4L/DVB (13332): s5h1409: remove a set register that would cause lock to be lost.
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Mon, 2 Nov 2009 04:30:40 +0000 (01:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:23 +0000 (18:41 -0200)
commitadcd8de6de36f67241a5c3562f2ef1d5998b30a9
tree3040b19e701aa8982fab5b95ba071dccfbc816d5
parent48c511ed675772bd08044d97756f7f7aae5168eb
V4L/DVB (13332): s5h1409: remove a set register that would cause lock to be lost.

On particularly weak signals, changing register 0xab after setting the
interleave mode will cause the FEC lock to get lost (while still holding the
EQ lock).  So remove the write entirely, which seems to have had no adverse
effect in either of my ClearQAM environments (and in particular resolves the
customer's reported issue).

Also flip around the order of the amhum optimization and the interleave setup
to be consistent with the windows driver, which has the side-benefit of doing
them both in the same call (since the amhum optimization can only be done once
the interleave setup).

This work was sponsored by ONELAN Limited.

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