summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2007-03-20 14:27:53 -0400
committerSteven Toth <stoth@hauppauge.com>2007-03-20 14:27:53 -0400
commit3212fec651f36aa38046be7c4eef9e04b2a0c1ef (patch)
tree7f257d83fc8f18637cec72bf291ef1bf322a431b /linux/drivers/media/video
parent41bf634ac7a89ba80e7159f236401dbfdfd8b654 (diff)
downloadmediapointer-dvb-s2-3212fec651f36aa38046be7c4eef9e04b2a0c1ef.tar.gz
mediapointer-dvb-s2-3212fec651f36aa38046be7c4eef9e04b2a0c1ef.tar.bz2
Fix MT2131 tuner lock status problem.
From: Steven Toth <stoth@hauppauge.com> 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. note: the majority of this change has already been merged with the 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>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-dvb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-dvb.c b/linux/drivers/media/video/cx23885/cx23885-dvb.c
index 41e3d4f73..9c543d5f3 100644
--- a/linux/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/linux/drivers/media/video/cx23885/cx23885-dvb.c
@@ -85,7 +85,8 @@ static struct s5h1409_config hauppauge_hvr1800lp_config = {
.output_mode = S5H1409_SERIAL_OUTPUT,
.gpio = S5H1409_GPIO_OFF,
.if_freq = 44000,
- .inversion = S5H1409_INVERSION_OFF
+ .inversion = S5H1409_INVERSION_OFF,
+ .status_mode = S5H1409_DEMODLOCKING
};
static struct s5h1409_config hauppauge_hvr1800_config = {
@@ -93,7 +94,8 @@ static struct s5h1409_config hauppauge_hvr1800_config = {
.output_mode = S5H1409_SERIAL_OUTPUT,
.gpio = S5H1409_GPIO_ON,
.if_freq = 44000,
- .inversion = S5H1409_INVERSION_OFF
+ .inversion = S5H1409_INVERSION_OFF,
+ .status_mode = S5H1409_DEMODLOCKING
};
#if 0