summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benesch <twoof7@freenet.de>2009-10-04 20:24:28 +0200
committerMatthias Benesch <twoof7@freenet.de>2009-10-04 20:24:28 +0200
commitf3c1d3f451080e0e216b8a9cd409dbd27c3009e7 (patch)
tree47504f4c115f7c15687d3b80a43329fbfb02046a
parent858c76725dd04c8b802e1d72d5f70eefe04484aa (diff)
downloadmediapointer-dvb-s2-f3c1d3f451080e0e216b8a9cd409dbd27c3009e7.tar.gz
mediapointer-dvb-s2-f3c1d3f451080e0e216b8a9cd409dbd27c3009e7.tar.bz2
Use NGENE_LNB.
Activated NGENE_LNB to set tone via I2C bus with additional register initialisation using TTX.
-rw-r--r--linux/drivers/media/video/ngene/ngene-core.c1
-rw-r--r--linux/drivers/media/video/ngene/ngene.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/ngene/ngene-core.c b/linux/drivers/media/video/ngene/ngene-core.c
index 0fad67e17..6b01127ef 100644
--- a/linux/drivers/media/video/ngene/ngene-core.c
+++ b/linux/drivers/media/video/ngene/ngene-core.c
@@ -3624,6 +3624,7 @@ static int tuner_attach_stv6110(struct ngene_channel *chan)
#endif /* NGENE_STV090X */
#ifdef NGENE_LNB
+ chan->lnbh=0x40; /* use TTX */
chan->fe->sec_priv=chan;
chan->set_tone=chan->fe->ops.set_tone;
chan->fe->ops.set_tone=lnbh21_set_tone;
diff --git a/linux/drivers/media/video/ngene/ngene.h b/linux/drivers/media/video/ngene/ngene.h
index 86ba676c7..5a7582e32 100644
--- a/linux/drivers/media/video/ngene/ngene.h
+++ b/linux/drivers/media/video/ngene/ngene.h
@@ -27,7 +27,7 @@
//#define ONE_ADAPTER
#define NGENE_COMMAND_API
#define NGENE_STV090X
-//#define NGENE_LNB
+#define NGENE_LNB
//#define NGENE_V4L
#include <linux/types.h>