diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-01-10 00:09:27 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:48 -0500 |
commit | 5206d6ec36e2c66090c3c02c95b8d70c356a9ad3 (patch) | |
tree | 6b6dffe413e91ee41b2566fddc7602eeb1224a47 /drivers/media/video | |
parent | 0ac5881aefc2dab8b3535c2e44fee6628acaf787 (diff) |
V4L/DVB (7004): cx23885: Ensure HVR1800 TDA8295A is reset fully on module 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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index aa0ddf2ea224..901bebcca7c3 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
@@ -268,7 +268,13 @@ void cx23885_gpio_setup(struct cx23885_dev *dev) | |||
268 | /* GPIO-15-18 cx23417 READY, CS, RD, WR */ | 268 | /* GPIO-15-18 cx23417 READY, CS, RD, WR */ |
269 | /* GPIO-19 IR_RX */ | 269 | /* GPIO-19 IR_RX */ |
270 | 270 | ||
271 | cx_set(GP0_IO, 0x00040004); /* Bring the tuner out of reset */ | 271 | /* Force the TDA8295A into reset and back */ |
272 | cx_set(GP0_IO, 0x00040004); | ||
273 | mdelay(20); | ||
274 | cx_clear(GP0_IO, 0x00000004); | ||
275 | mdelay(20); | ||
276 | cx_set(GP0_IO, 0x00040004); | ||
277 | mdelay(20); | ||
272 | break; | 278 | break; |
273 | } | 279 | } |
274 | } | 280 | } |