V4L/DVB (8332): cx18: Suport external reset of the Z8F0811 IR controller on HVR-1600...
authorAndy Walls <awalls@radix.net>
Sun, 13 Jul 2008 22:30:15 +0000 (19:30 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:25:03 +0000 (07:25 -0300)
commit02fa272fcb6edda9059d6dbaab20dfe919f4f4d2
treedcce1b6957c1a355c6ebcb80e61aa8651e84a93a
parent8abdd00dcc6a58cab3afe6a23a0ce819dc08049a
V4L/DVB (8332): cx18: Suport external reset of the Z8F0811 IR controller on HVR-1600 for lirc

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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx18/cx18-cards.c
drivers/media/video/cx18/cx18-cards.h
drivers/media/video/cx18/cx18-gpio.c
drivers/media/video/cx18/cx18-gpio.h
drivers/media/video/cx18/cx18-ioctl.c