aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2007-03-20 14:27:53 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:08:06 -0400
commitfe475163ff9680495af3b1b5b7633ea7a42e4185 (patch)
tree9154c82d437b9cd5adb9ae5d882e4b8ce551f111 /drivers/media/video/cx23885
parente133be0f587996f112d7984c03606af418a7ca05 (diff)
V4L/DVB (6158): Fix MT2131 tuner lock status problem
The mt2131 tuner reports lock even when the hardware should not lock. This patch allows the s5h1409 demodulator to be configured to query either the tuner driver for status, or the demodulator status when the application requests lock status. This avoids returning false CARRIER and/or SIGNAL lock status. S5H1409 and MT2131 drivers. This is the remainder of the changeset, which only touches cx23885-dvb.c Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index 4ff85f75f9f7..188a5a7819cb 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -84,7 +84,8 @@ static struct s5h1409_config hauppauge_hvr1800lp_config = {
84 .output_mode = S5H1409_SERIAL_OUTPUT, 84 .output_mode = S5H1409_SERIAL_OUTPUT,
85 .gpio = S5H1409_GPIO_OFF, 85 .gpio = S5H1409_GPIO_OFF,
86 .if_freq = 44000, 86 .if_freq = 44000,
87 .inversion = S5H1409_INVERSION_OFF 87 .inversion = S5H1409_INVERSION_OFF,
88 .status_mode = S5H1409_DEMODLOCKING
88}; 89};
89 90
90static struct s5h1409_config hauppauge_hvr1800_config = { 91static struct s5h1409_config hauppauge_hvr1800_config = {
@@ -92,7 +93,8 @@ static struct s5h1409_config hauppauge_hvr1800_config = {
92 .output_mode = S5H1409_SERIAL_OUTPUT, 93 .output_mode = S5H1409_SERIAL_OUTPUT,
93 .gpio = S5H1409_GPIO_ON, 94 .gpio = S5H1409_GPIO_ON,
94 .if_freq = 44000, 95 .if_freq = 44000,
95 .inversion = S5H1409_INVERSION_OFF 96 .inversion = S5H1409_INVERSION_OFF,
97 .status_mode = S5H1409_DEMODLOCKING
96}; 98};
97 99
98 100