summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-06-27 23:52:45 -0400
committerSteven Toth <stoth@hauppauge.com>2008-06-27 23:52:45 -0400
commitde1a48f03fb92ffdc82696c4c733ab095f2cda00 (patch)
tree4ab3926543ba2c9ac322bdcfb47ba6923299d43c /linux/drivers
parent12d5d5907229c21d604c49091d380756a4226593 (diff)
downloadmediapointer-dvb-s2-de1a48f03fb92ffdc82696c4c733ab095f2cda00.tar.gz
mediapointer-dvb-s2-de1a48f03fb92ffdc82696c4c733ab095f2cda00.tar.bz2
cx23885: Ensure PAD_CTRL is always reset to a sensible default
From: Steven Toth <stoth@hauppauge.com> PAD_CTRL controls TS1 and TS2 input and output states, if the register became corrupt the driver was never able to recover. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: <>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-core.c b/linux/drivers/media/video/cx23885/cx23885-core.c
index 94070ebbf..3f5571ee6 100644
--- a/linux/drivers/media/video/cx23885/cx23885-core.c
+++ b/linux/drivers/media/video/cx23885/cx23885-core.c
@@ -461,6 +461,7 @@ static void cx23885_reset(struct cx23885_dev *dev)
cx_write(AUDIO_INT_INT_STAT, 0xffffffff);
cx_write(AUDIO_EXT_INT_STAT, 0xffffffff);
cx_write(CLK_DELAY, cx_read(CLK_DELAY) & 0x80000000);
+ cx_write(PAD_CTRL, 0x00500300);
mdelay(100);