summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2007-03-23 00:58:43 +0100
committerHartmut Hackmann <hartmut.hackmann@t-online.de>2007-03-23 00:58:43 +0100
commit3d387c344dd3a468d4c9bbdf5abda932189d7bc1 (patch)
treee3bb9fd2199868a164ef25f61c639e9855a46843 /linux/drivers/media/video
parent462eeaf510ade76bcdf8c2f0ff535459c244c4cb (diff)
downloadmediapointer-dvb-s2-3d387c344dd3a468d4c9bbdf5abda932189d7bc1.tar.gz
mediapointer-dvb-s2-3d387c344dd3a468d4c9bbdf5abda932189d7bc1.tar.bz2
set tda8290 to analog mode after init
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> otherwise the tuner driver will not accept i.e. the standby command. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/tda8290.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tda8290.c b/linux/drivers/media/video/tda8290.c
index 109eb44a9..90ba0384e 100644
--- a/linux/drivers/media/video/tda8290.c
+++ b/linux/drivers/media/video/tda8290.c
@@ -466,7 +466,6 @@ static void set_audio(struct tuner *t)
char* mode;
t->tda827x_lpsel = 0;
- mode = "xx";
if (t->std & V4L2_STD_MN) {
t->sgIF = 92;
t->tda8290_easy_mode = 0x01;
@@ -496,8 +495,12 @@ static void set_audio(struct tuner *t)
t->sgIF = 20;
t->tda8290_easy_mode = 0x40;
mode = "LC";
+ } else {
+ t->sgIF = 124;
+ t->tda8290_easy_mode = 0x10;
+ mode = "xx";
}
- tuner_dbg("setting tda8290 to system %s\n", mode);
+ tuner_dbg("setting tda8290 to system %s\n", mode);
}
static void set_tv_freq(struct i2c_client *c, unsigned int freq)
@@ -640,6 +643,7 @@ int tda8290_init(struct i2c_client *c)
t->has_signal = has_signal;
t->standby = standby;
t->tda827x_lpsel = 0;
+ t->mode = V4L2_TUNER_ANALOG_TV;
tda8290_init_tuner(c);
tda8290_init_if(c);