[linux-dvb] TDA10086 (TT S-1401) DiSEqC problem
Vladimir Monchenko
bob at globall.ru
Mon Dec 18 07:49:18 CET 2006
Hi.
I also have a problem with the inversion of snr and str. I decided this
problem through this patch.
Regards,
Vladimir Monchenko.
-------------- next part --------------
--- tda10086.c.orig 2006-12-18 06:17:12.000000000 +0000
+++ tda10086.c 2006-12-18 06:25:39.000000000 +0000
@@ -555,7 +555,7 @@
dprintk ("%s\n", __FUNCTION__);
- _str = tda10086_read_byte(state, 0x43);
+ _str = 0xffff - tda10086_read_byte(state, 0x43);
*signal = (_str << 8) | _str;
return 0;
@@ -568,7 +568,7 @@
dprintk ("%s\n", __FUNCTION__);
- _snr = tda10086_read_byte(state, 0x1c);
+ _snr = 0xffff - tda10086_read_byte(state, 0x1c);
*snr = (_snr << 8) | _snr;
return 0;
More information about the linux-dvb
mailing list