diff options
author | David T.L. Wong <davidtlwong@gmail.com> | 2009-10-21 11:29:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 15:40:54 -0500 |
commit | 8e069bb9aeb4250dd062bb136f4b3db5c4c530ff (patch) | |
tree | 3862e34bcf0ad5ea9e4ec76940c247085da25df5 /drivers/media/video/cx23885 | |
parent | bc1548adbee02899c7db5cd045bb0d799b220dce (diff) |
V4L/DVB (13210): cx23885: card Mygica X8506 better GPIO setup
Signed-off-by: David T.L. Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-cards.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/cx23885/cx23885-cards.c index 7438e79a8efd..a2ba09e0aef0 100644 --- a/drivers/media/video/cx23885/cx23885-cards.c +++ b/drivers/media/video/cx23885/cx23885-cards.c | |||
@@ -799,12 +799,13 @@ void cx23885_gpio_setup(struct cx23885_dev *dev) | |||
799 | break; | 799 | break; |
800 | case CX23885_BOARD_MYGICA_X8506: | 800 | case CX23885_BOARD_MYGICA_X8506: |
801 | case CX23885_BOARD_MAGICPRO_PROHDTVE2: | 801 | case CX23885_BOARD_MAGICPRO_PROHDTVE2: |
802 | /* GPIO-0 (0)Analog / (1)Digital TV */ | ||
802 | /* GPIO-1 reset XC5000 */ | 803 | /* GPIO-1 reset XC5000 */ |
803 | /* GPIO-2 reset LGS8GL5 / LGS8G75 */ | 804 | /* GPIO-2 reset LGS8GL5 / LGS8G75 */ |
804 | cx_set(GP0_IO, 0x00060000); | 805 | cx23885_gpio_enable(dev, GPIO_0 | GPIO_1 | GPIO_2, 1); |
805 | cx_clear(GP0_IO, 0x00000006); | 806 | cx23885_gpio_clear(dev, GPIO_1 | GPIO_2); |
806 | mdelay(100); | 807 | mdelay(100); |
807 | cx_set(GP0_IO, 0x00060006); | 808 | cx23885_gpio_set(dev, GPIO_0 | GPIO_1 | GPIO_2); |
808 | mdelay(100); | 809 | mdelay(100); |
809 | break; | 810 | break; |
810 | case CX23885_BOARD_HAUPPAUGE_HVR1850: | 811 | case CX23885_BOARD_HAUPPAUGE_HVR1850: |