aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-07-13 18:05:25 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:24:59 -0400
commit8abdd00dcc6a58cab3afe6a23a0ce819dc08049a (patch)
treee12468caf7a74379a5833827f6b83ea77d37df0c /drivers/media/video/cx18/cx18-driver.c
parent2c6a37bb076b9718c6362d4ffa1c7e58fdb1a0e9 (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.c1
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);