diff options
author | Andy Walls <awalls@radix.net> | 2008-07-13 15:30:15 -0400 |
---|---|---|
committer | Andy Walls <awalls@radix.net> | 2008-07-13 15:30:15 -0400 |
commit | 686cc1c1d15e11ccb0bd3687091cd989974d9e91 (patch) | |
tree | 09dd11a2687dec57bedb87e0db4c8e307449f8b6 /linux/drivers/media/video/cx18/cx18-gpio.h | |
parent | bd7892e6fc1c78809e6b71abec98ebc62d1e6aa5 (diff) | |
download | mediapointer-dvb-s2-686cc1c1d15e11ccb0bd3687091cd989974d9e91.tar.gz mediapointer-dvb-s2-686cc1c1d15e11ccb0bd3687091cd989974d9e91.tar.bz2 |
cx18: Suport external reset of the Z8F0811 IR controller on HVR-1600 for lirc
From: Andy Walls <awalls@radix.net>
cx18: added in cx18_ir_reset_gpio function for lirc_pvr150 like module. Also
added the ability to reset the IR chip via ioctl like ivtv. This needs the
mutex to protect gpio_dir and gpio_val in struct cx18 as gpio changes can
come from a few different asynchronous sources now.
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 7447fed35..22cd7ddf8 100644 --- a/linux/drivers/media/video/cx18/cx18-gpio.h +++ b/linux/drivers/media/video/cx18/cx18-gpio.h @@ -22,5 +22,6 @@ void cx18_gpio_init(struct cx18 *cx); void cx18_reset_i2c_slaves_gpio(struct cx18 *cx); +void cx18_reset_ir_gpio(void *data); int cx18_reset_tuner_gpio(void *dev, int cmd, int value); int cx18_gpio(struct cx18 *cx, unsigned int command, void *arg); |