diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-12-19 11:22:19 +0100 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-12-19 11:22:19 +0100 |
commit | c1687736b4c359f8963683698ad5cf33e6d7780e (patch) | |
tree | b062c72c9853bcca3f4849647519cb5a0a82caee /linux/drivers/media/video/cx88/cx88-blackbird.c | |
parent | eebdebc91edbad9e91a7ac0b8762b12fd4160b0b (diff) | |
parent | c4542dc81f4ce29264cfdf0ac973a51129685567 (diff) | |
download | mediapointer-dvb-s2-c1687736b4c359f8963683698ad5cf33e6d7780e.tar.gz mediapointer-dvb-s2-c1687736b4c359f8963683698ad5cf33e6d7780e.tar.bz2 |
merge: v4l-dvb
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-blackbird.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c index b090c6620..561dc7f0b 100644 --- a/linux/drivers/media/video/cx88/cx88-blackbird.c +++ b/linux/drivers/media/video/cx88/cx88-blackbird.c @@ -1263,8 +1263,16 @@ static int cx8802_blackbird_advise_acquire(struct cx8802_driver *drv) * We're being given access to re-arrange the GPIOs. * Take the bus off the cx22702 and put the cx23416 on it. */ - cx_clear(MO_GP0_IO, 0x00000080); /* cx22702 in reset */ - cx_set(MO_GP0_IO, 0x00000004); /* Disable the cx22702 */ + /* Toggle reset on cx22702 leaving i2c active */ + cx_set(MO_GP0_IO, 0x00000080); + udelay(1000); + cx_clear(MO_GP0_IO, 0x00000080); + udelay(50); + cx_set(MO_GP0_IO, 0x00000080); + udelay(1000); + /* tri-state the cx22702 pins */ + cx_set(MO_GP0_IO, 0x00000004); + udelay(1000); break; default: err = -ENODEV; |