summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authordarron@kewl.org <darron@kewl.org>2008-10-11 15:35:56 +0100
committerdarron@kewl.org <darron@kewl.org>2008-10-11 15:35:56 +0100
commit8e5764414cfbfb3a7abb46f3fc79e631c643379c (patch)
tree9e1c01cde6c87eb279b5e0e453d136de8d7c5b7a /linux/drivers
parent872031679e22f84f4df51a299225015f12a73f1a (diff)
downloadmediapointer-dvb-s2-8e5764414cfbfb3a7abb46f3fc79e631c643379c.tar.gz
mediapointer-dvb-s2-8e5764414cfbfb3a7abb46f3fc79e631c643379c.tar.bz2
MFE: cx88: Reset cx22702 on hvr-3000/4000
From: Darron Broad <darron@kewl.org> The cx22702 is now always reset on module load. Prior to this the cx22702 was not found on i2c scan without a full reset. Priority: normal Signed-off-by: Darron Broad <darron@kewl.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/cx88/cx88-cards.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c
index fd7eddd55..239cb8e5b 100644
--- a/linux/drivers/media/video/cx88/cx88-cards.c
+++ b/linux/drivers/media/video/cx88/cx88-cards.c
@@ -2697,10 +2697,13 @@ static void cx88_card_setup_pre_i2c(struct cx88_core *core)
case CX88_BOARD_HAUPPAUGE_HVR3000:
case CX88_BOARD_HAUPPAUGE_HVR4000:
- case CX88_BOARD_HAUPPAUGE_HVR4000LITE:
/* Init GPIO */
cx_write(MO_GP0_IO, core->board.input[0].gpio0);
udelay(1000);
+ cx_clear(MO_GP0_IO, 0x00000080);
+ udelay(50);
+ cx_set(MO_GP0_IO, 0x00000080); /* 702 out of reset */
+ udelay(1000);
break;
}
}