diff options
author | Andy Walls <awalls@radix.net> | 2008-07-13 18:30:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:25:03 -0400 |
commit | 02fa272fcb6edda9059d6dbaab20dfe919f4f4d2 (patch) | |
tree | dcce1b6957c1a355c6ebcb80e61aa8651e84a93a /drivers/media/video/cx18/cx18-cards.c | |
parent | 8abdd00dcc6a58cab3afe6a23a0ce819dc08049a (diff) |
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>
Diffstat (limited to 'drivers/media/video/cx18/cx18-cards.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-cards.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-cards.c b/drivers/media/video/cx18/cx18-cards.c index 0caae1a5edc4..8fe5f38c4d7c 100644 --- a/drivers/media/video/cx18/cx18-cards.c +++ b/drivers/media/video/cx18/cx18-cards.c | |||
@@ -88,6 +88,7 @@ static const struct cx18_card cx18_card_hvr1600_esmt = { | |||
88 | .active_lo_mask = 0x3001, | 88 | .active_lo_mask = 0x3001, |
89 | .msecs_asserted = 10, | 89 | .msecs_asserted = 10, |
90 | .msecs_recovery = 40, | 90 | .msecs_recovery = 40, |
91 | .ir_reset_mask = 0x0001, | ||
91 | }, | 92 | }, |
92 | .i2c = &cx18_i2c_std, | 93 | .i2c = &cx18_i2c_std, |
93 | }; | 94 | }; |
@@ -133,6 +134,7 @@ static const struct cx18_card cx18_card_hvr1600_samsung = { | |||
133 | .active_lo_mask = 0x3001, | 134 | .active_lo_mask = 0x3001, |
134 | .msecs_asserted = 10, | 135 | .msecs_asserted = 10, |
135 | .msecs_recovery = 40, | 136 | .msecs_recovery = 40, |
137 | .ir_reset_mask = 0x0001, | ||
136 | }, | 138 | }, |
137 | .i2c = &cx18_i2c_std, | 139 | .i2c = &cx18_i2c_std, |
138 | }; | 140 | }; |