summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-01-10 00:09:27 -0500
committerSteven Toth <stoth@hauppauge.com>2008-01-10 00:09:27 -0500
commitc49b8d061bd8070ba1c431ae87598d2df1f40cd0 (patch)
tree64035d5ef50604bda37c162ac9425935ed1890fa /linux/drivers/media
parent70347138514c2c7fbd9fc4da4f1d4ea591c2aa0d (diff)
downloadmediapointer-dvb-s2-c49b8d061bd8070ba1c431ae87598d2df1f40cd0.tar.gz
mediapointer-dvb-s2-c49b8d061bd8070ba1c431ae87598d2df1f40cd0.tar.bz2
cx23885: Ensure HVR1800 TDA8295A is reset fully on module load.
From: Steven Toth <stoth@hauppauge.com> Failure to do this means that a full system reboot is required if the part hangs. Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-cards.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-cards.c b/linux/drivers/media/video/cx23885/cx23885-cards.c
index c14a3f3cd..fa369ccb1 100644
--- a/linux/drivers/media/video/cx23885/cx23885-cards.c
+++ b/linux/drivers/media/video/cx23885/cx23885-cards.c
@@ -269,7 +269,13 @@ void cx23885_gpio_setup(struct cx23885_dev *dev)
/* GPIO-15-18 cx23417 READY, CS, RD, WR */
/* GPIO-19 IR_RX */
- cx_set(GP0_IO, 0x00040004); /* Bring the tuner out of reset */
+ /* Force the TDA8295A into reset and back */
+ cx_set(GP0_IO, 0x00040004);
+ mdelay(20);
+ cx_clear(GP0_IO, 0x00000004);
+ mdelay(20);
+ cx_set(GP0_IO, 0x00040004);
+ mdelay(20);
break;
}
}