The patch number 9270 was added via [EMAIL PROTECTED]
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Christophe Thommeret  <[EMAIL PROTECTED]>
cx24116: optimise emulated auto-pilot


Christophe divulged the following:
"Since 8PSK (and higher mod) signals are very likely to have pilot symbols,
pilot_auto should start with pilot_on for 8PSK.
And since QPSK signals are unlikely to have pilot, pilot_auto should start
with pilot_off for QPSK.

Without the patch:
QPSK tuning delay: ~100ms
8PSK tuning delay: ~900ms
with patch:
QPSK tuning delay: ~100ms
8PSK tuning delay: ~100ms
"

This patch does as Cristophe asks. In emulated auto-pilot we
choose pilot-on for tuning PSK_8 and pilot-off for
tuning QPSK.

Priority: normal

Signed-off-by: Darron Broad <[EMAIL PROTECTED]>
Signed-off-by: Steven Toth <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/frontends/cx24116.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff -r 8b1373e8d139 -r 4ec61a988104 linux/drivers/media/dvb/frontends/cx24116.c
--- a/linux/drivers/media/dvb/frontends/cx24116.c       Wed Oct 15 18:18:42 
2008 +0100
+++ b/linux/drivers/media/dvb/frontends/cx24116.c       Thu Oct 16 00:01:32 
2008 +0100
@@ -1265,7 +1265,10 @@ static int cx24116_set_frontend(struct d
 
                switch (c->pilot) {
                case PILOT_AUTO:        /* Not supported but emulated */
-                       retune = 2;     /* Fall-through */
+                       state->dnxt.pilot_val = (c->modulation == QPSK)
+                               ? CX24116_PILOT_OFF : CX24116_PILOT_ON;
+                       retune = 2;
+                       break;
                case PILOT_OFF:
                        state->dnxt.pilot_val = CX24116_PILOT_OFF;
                        break;


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/4ec61a988104236bacfc3319fffa62e095aadc0a

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to