linux/drivers/media/dvb
Devin Heitmueller f0cd44b4a1 V4L/DVB (13330): s5h1409: properly handle QAM optimization after lock achieved
The sh51409 driver was only doing the QAM optimization a single time, and it
would only occur if you received a lock instantaneously after the tuning
request.  Restructure the code so that the optimization occurs once you reach
a signal lock.

Note that this depends on the caller polling for status, but we don't have
much choice at this point without an independent thread monitoring the lock
status.  Also, at this point pretty much every application polls for status
lock after doing the tune, so the likelihood of the optimization not occurring
in the real world is pretty low.

The state machine has also been reworked such that setting the interleave mode
is now a dependency of doing the QAM optimization.  Before both were mutually
exclusive, which was not consistent with the Windows driver.  We now have a
single state machine that controls both.

The changes as-is are only enabled for the HVR-1600.  Once the changes are
tested with some of the other boards, this change should be made generic and
the "_legacy" functions should be removed.

This work was sponsored by ONELAN Limited.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-05 18:41:22 -02:00
..
b2c2 V4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2 2009-09-12 12:17:52 -03:00
bt8xx V4L/DVB (12477): Use dst_type field instead of type_flags 2009-09-12 12:19:03 -03:00
dm1105 V4L/DVB (12595): common/ir: use a struct for keycode tables 2009-09-12 12:19:47 -03:00
dvb-core V4L/DVB (13271): TS speed check. Logging transport stream speed in Kbits per second 2009-12-05 18:41:11 -02:00
dvb-usb V4L/DVB (13297): dib0700_devices: EvolutePC TvWay+ USB ISDB-Tb remote control support 2009-12-05 18:41:15 -02:00
firewire V4L/DVB (13240): firedtv: fix regression: tuning fails due to bogus error return 2009-11-07 12:55:11 -02:00
frontends V4L/DVB (13330): s5h1409: properly handle QAM optimization after lock achieved 2009-12-05 18:41:22 -02:00
pluto2 V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
pt1 V4L/DVB (13167): pt1: Fix a compile error on arm 2009-11-07 12:55:07 -02:00
siano V4L/DVB (13295): sms1xxx: load smsdvb also for the hauppauge tiger cards 2009-12-05 18:41:14 -02:00
ttpci V4L/DVB (12595): common/ir: use a struct for keycode tables 2009-09-12 12:19:47 -03:00
ttusb-budget V4L/DVB (10149): ttusb-budget: make it depend on PCI 2009-01-02 17:12:21 -02:00
ttusb-dec V4L/DVB (10248): v4l-dvb: fix a bunch of compile warnings. 2009-01-29 08:38:04 -02:00
Kconfig V4L/DVB (12999): Add a driver for Earthsoft PT1 2009-09-19 00:51:41 -03:00
Makefile V4L/DVB (12999): Add a driver for Earthsoft PT1 2009-09-19 00:51:41 -03:00