summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/lgdt330x.c
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-07-27 19:25:45 +0000
committerMichael Krufky <devnull@localhost>2005-07-27 19:25:45 +0000
commitf5880faa695fe996ff193cf5622470fe90bf6a9e (patch)
treefed1d8ec7ed1659073ee0c8e995e2596c7a5a741 /linux/drivers/media/dvb/frontends/lgdt330x.c
parentabef93423df2181ce2f17e7ba7360c5360085d2e (diff)
downloadmediapointer-dvb-s2-f5880faa695fe996ff193cf5622470fe90bf6a9e.tar.gz
mediapointer-dvb-s2-f5880faa695fe996ff193cf5622470fe90bf6a9e.tar.bz2
- Add LG/TUA6034 dvb_pll_desc for ATSC with LG TDVS-H062F & DViCO FusionHDTV5.
- Fixed LGDT330X signal strength: For now, always set it to 0. - Corrected LGDT330X boundary condition error in read_snr: dB calculation. Signed-off-by: Mac Michaels <wmichaels1@earthlink.net> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/lgdt330x.c')
-rw-r--r--linux/drivers/media/dvb/frontends/lgdt330x.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/lgdt330x.c b/linux/drivers/media/dvb/frontends/lgdt330x.c
index f2ed7bf01..028102b91 100644
--- a/linux/drivers/media/dvb/frontends/lgdt330x.c
+++ b/linux/drivers/media/dvb/frontends/lgdt330x.c
@@ -40,9 +40,6 @@
#include <asm/byteorder.h>
#include "dvb_frontend.h"
-#if 0
- #include "dvb-pll.h"
-#endif
#include "lgdt330x_priv.h"
#include "lgdt330x.h"
@@ -549,6 +546,7 @@ static int lgdt330x_read_status(struct dvb_frontend* fe, fe_status_t* status)
static int lgdt330x_read_signal_strength(struct dvb_frontend* fe, u16* strength)
{
/* not directly available. */
+ *strength = 0;
return 0;
}
@@ -601,7 +599,7 @@ static int lgdt330x_read_snr(struct dvb_frontend* fe, u16* snr)
91, 115, 144, 182, 229, 288, 362, 456, 574, 722,
909, 1144, 1440, 1813, 2282, 2873, 3617, 4553, 5732, 7216,
9084, 11436, 14396, 18124, 22817, 28724, 36161, 45524, 57312, 72151,
- 90833, 114351, 143960, 181235, 228161, 0x040000
+ 90833, 114351, 143960, 181235, 228161, 0x080000
};
static u8 buf[5];/* read data buffer */