diff options
author | Andy Walls <awalls@radix.net> | 2008-06-21 21:27:00 -0400 |
---|---|---|
committer | Andy Walls <awalls@radix.net> | 2008-06-21 21:27:00 -0400 |
commit | b411d7f2288ce688fe67db8c157a7721b70bc20d (patch) | |
tree | 613fdf0c2d0d9e8a51ce7b671b5a1110876ebf17 /linux/drivers/media/video/cx18/cx18-gpio.h | |
parent | 5a55e327df413ef74d0e96632acc04ca47944641 (diff) | |
download | mediapointer-dvb-s2-b411d7f2288ce688fe67db8c157a7721b70bc20d.tar.gz mediapointer-dvb-s2-b411d7f2288ce688fe67db8c157a7721b70bc20d.tar.bz2 |
cx18: Add I2C slave reset via GPIO upon initialization
From: Andy Walls <awalls@radix.net>
cx18: Add I2C slave reset via GPIO upon initialization. One user,
Michael <msd4824@yahoo.com>, has reported this allows his HVR-1600 EEPROM to
be consistently recognized when using (long,) 100 msec delays. The delays in
this commit are nominal (10 & 40 msec) and need testing/tuning on boards with
I2C problems to find the right values.
Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-gpio.h')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-gpio.h b/linux/drivers/media/video/cx18/cx18-gpio.h index 41bac8856..525c328f7 100644 --- a/linux/drivers/media/video/cx18/cx18-gpio.h +++ b/linux/drivers/media/video/cx18/cx18-gpio.h @@ -21,4 +21,5 @@ */ void cx18_gpio_init(struct cx18 *cx); +void cx18_reset_i2c_slaves_gpio(struct cx18 *cx); int cx18_reset_tuner_gpio(void *dev, int cmd, int value); |