diff options
author | Steven Toth <stoth@hauppauge.com> | 2008-06-30 20:23:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-26 11:54:28 -0400 |
commit | 1ecc5aed1ea426dbb7e5cd9a0c980c14c879277b (patch) | |
tree | 7a86902eb86d4699bfff7c5e229d1c8954421c5a /drivers/media/video/cx23885/cx23885-cards.c | |
parent | aaadeac88add22c4b2e2e7d17af1c5bae2d3fe17 (diff) |
V4L/DVB (8469): cx23885: FusionHDTV7 Dual Express toggle reset.
Ensure the tuners and demods are brought in and out of reset during
driver startup.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-cards.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index f325c123295c..691b35279c20 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
@@ -436,6 +436,19 @@ void cx23885_gpio_setup(struct cx23885_dev *dev) | |||
436 | mdelay(20); | 436 | mdelay(20); |
437 | cx_set(GP0_IO, 0x00050005); | 437 | cx_set(GP0_IO, 0x00050005); |
438 | break; | 438 | break; |
439 | case CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP: | ||
440 | /* GPIO-0 xc5000 tuner reset i2c bus 0 */ | ||
441 | /* GPIO-1 s5h1409 demod reset i2c bus 0 */ | ||
442 | /* GPIO-2 xc5000 tuner reset i2c bus 1 */ | ||
443 | /* GPIO-3 s5h1409 demod reset i2c bus 0 */ | ||
444 | |||
445 | /* Put the parts into reset and back */ | ||
446 | cx_set(GP0_IO, 0x000f0000); | ||
447 | mdelay(20); | ||
448 | cx_clear(GP0_IO, 0x0000000f); | ||
449 | mdelay(20); | ||
450 | cx_set(GP0_IO, 0x000f000f); | ||
451 | break; | ||
439 | } | 452 | } |
440 | } | 453 | } |
441 | 454 | ||