]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda3d1d7a7ee6f785f1e353de7ff5b8f231922521
tree3040b19e701aa8982fab5b95ba071dccfbc816d5
parent64fef9d349b3ff393225e0e524fe583f810131cd
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