Skip to content

Commit

Permalink
V4L/DVB (7004): cx23885: Ensure HVR1800 TDA8295A is reset fully on mo…
Browse files Browse the repository at this point in the history
…dule load

Failure to do this means that a full system reboot is required if the
part hangs.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 0ac5881 commit 5206d6e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion drivers/media/video/cx23885/cx23885-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,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;
}
}
Expand Down

0 comments on commit 5206d6e

Please sign in to comment.