diff options
author | Darron Broad <darron@kewl.org> | 2008-10-11 10:35:56 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-17 16:23:34 -0400 |
commit | 2f3af9e64de44743a860fd1eee966222a7accc54 (patch) | |
tree | 8a51d4d2d70eba1f1c2af7140eb9f202a55c3509 /drivers/media/video/cx88 | |
parent | 8e739090d6cdd43ddf938a3899c4f929db8d5ba8 (diff) |
V4L/DVB (9226): MFE: cx88: Reset cx22702 on hvr-3000/4000
The cx22702 is now always reset on module load. Prior to
this the cx22702 was not found on i2c scan without a
full reset.
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r-- | drivers/media/video/cx88/cx88-cards.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-cards.c b/drivers/media/video/cx88/cx88-cards.c index 402a5db90e44..3ef49c7a2514 100644 --- a/drivers/media/video/cx88/cx88-cards.c +++ b/drivers/media/video/cx88/cx88-cards.c | |||
@@ -2664,10 +2664,13 @@ static void cx88_card_setup_pre_i2c(struct cx88_core *core) | |||
2664 | 2664 | ||
2665 | case CX88_BOARD_HAUPPAUGE_HVR3000: | 2665 | case CX88_BOARD_HAUPPAUGE_HVR3000: |
2666 | case CX88_BOARD_HAUPPAUGE_HVR4000: | 2666 | case CX88_BOARD_HAUPPAUGE_HVR4000: |
2667 | case CX88_BOARD_HAUPPAUGE_HVR4000LITE: | ||
2668 | /* Init GPIO */ | 2667 | /* Init GPIO */ |
2669 | cx_write(MO_GP0_IO, core->board.input[0].gpio0); | 2668 | cx_write(MO_GP0_IO, core->board.input[0].gpio0); |
2670 | udelay(1000); | 2669 | udelay(1000); |
2670 | cx_clear(MO_GP0_IO, 0x00000080); | ||
2671 | udelay(50); | ||
2672 | cx_set(MO_GP0_IO, 0x00000080); /* 702 out of reset */ | ||
2673 | udelay(1000); | ||
2671 | break; | 2674 | break; |
2672 | } | 2675 | } |
2673 | } | 2676 | } |