summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMatthias Benesch <twoof7@freenet.de>2009-10-04 20:24:28 +0200
committerMatthias Benesch <twoof7@freenet.de>2009-12-08 21:32:00 +0100
commitbe520898836865c749ff6f4751718f2d3f669f96 (patch)
tree47504f4c115f7c15687d3b80a43329fbfb02046a /linux
parent6195335f3de27b2e7e0890dd5fcca84a293e7eba (diff)
downloadmediapointer-dvb-s2-be520898836865c749ff6f4751718f2d3f669f96.tar.gz
mediapointer-dvb-s2-be520898836865c749ff6f4751718f2d3f669f96.tar.bz2
Using I2C bus message to set 22kHz tone within module ngene.
From: Matthias Benesch <twoof7@freenet.de> Using I2C bus message to set 22kHz tone with additional register initialisation == TTX. Priority: normal
Diffstat (limited to 'linux')
-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>