diff options
author | Andy Walls <awalls@radix.net> | 2008-07-13 18:05:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:24:59 -0400 |
commit | 8abdd00dcc6a58cab3afe6a23a0ce819dc08049a (patch) | |
tree | e12468caf7a74379a5833827f6b83ea77d37df0c /drivers/media/video/cx18/cx18-driver.c | |
parent | 2c6a37bb076b9718c6362d4ffa1c7e58fdb1a0e9 (diff) |
V4L/DVB (8331): cx18: Add locking for struct cx18 GPIO state variables
cx18: Add locking for struct cx18 GPIO state variables in
anticpation of adding IR microcontroller reset support for
use by external IR modules.
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-driver.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c index e73de6252257..22434aadde31 100644 --- a/drivers/media/video/cx18/cx18-driver.c +++ b/drivers/media/video/cx18/cx18-driver.c | |||
@@ -421,6 +421,7 @@ static int __devinit cx18_init_struct1(struct cx18 *cx) | |||
421 | mutex_init(&cx->serialize_lock); | 421 | mutex_init(&cx->serialize_lock); |
422 | mutex_init(&cx->i2c_bus_lock[0]); | 422 | mutex_init(&cx->i2c_bus_lock[0]); |
423 | mutex_init(&cx->i2c_bus_lock[1]); | 423 | mutex_init(&cx->i2c_bus_lock[1]); |
424 | mutex_init(&cx->gpio_lock); | ||
424 | 425 | ||
425 | spin_lock_init(&cx->lock); | 426 | spin_lock_init(&cx->lock); |
426 | spin_lock_init(&cx->dma_reg_lock); | 427 | spin_lock_init(&cx->dma_reg_lock); |