summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-06-28 05:52:45 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-26 17:54:22 +0200
commitecda5966c90746a044ff68e78b1062adcddd9664 (patch)
tree3f11233637dbd1d4005679c85c8dd3df597a211f /drivers/media/video/cx23885
parentV4L/DVB (8464): cx23885: Bugfix for concurrent use of /dev/video0 and /dev/vi... (diff)
downloadlinux-ecda5966c90746a044ff68e78b1062adcddd9664.tar.xz
linux-ecda5966c90746a044ff68e78b1062adcddd9664.zip
V4L/DVB (8465): cx23885: Ensure PAD_CTRL is always reset to a sensible default
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: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index e14371ef1269..f5afc8d7cb12 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -460,6 +460,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);