Commit ecda5966c90746a044ff68e78b1062adcddd9664

Authored by Steven Toth
Committed by Mauro Carvalho Chehab
1 parent 28901ab621

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/media/video/cx23885/cx23885-core.c
... ... @@ -460,6 +460,7 @@
460 460 cx_write(AUDIO_INT_INT_STAT, 0xffffffff);
461 461 cx_write(AUDIO_EXT_INT_STAT, 0xffffffff);
462 462 cx_write(CLK_DELAY, cx_read(CLK_DELAY) & 0x80000000);
  463 + cx_write(PAD_CTRL, 0x00500300);
463 464  
464 465 mdelay(100);
465 466