diff options
author | Andy Walls <awalls@radix.net> | 2008-07-13 15:05:25 -0400 |
---|---|---|
committer | Andy Walls <awalls@radix.net> | 2008-07-13 15:05:25 -0400 |
commit | bd7892e6fc1c78809e6b71abec98ebc62d1e6aa5 (patch) | |
tree | 82e2169f62881c85a5a63a4359f99e6dd6167027 /linux/drivers/media/video/cx18/cx18-driver.c | |
parent | 9421ca72b55ed6cea1e47552070207878fd925c5 (diff) | |
download | mediapointer-dvb-s2-bd7892e6fc1c78809e6b71abec98ebc62d1e6aa5.tar.gz mediapointer-dvb-s2-bd7892e6fc1c78809e6b71abec98ebc62d1e6aa5.tar.bz2 |
cx18: Add locking for struct cx18 GPIO state variables
From: Andy Walls <awalls@radix.net>
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>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-driver.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.c b/linux/drivers/media/video/cx18/cx18-driver.c index e73de6252..22434aadd 100644 --- a/linux/drivers/media/video/cx18/cx18-driver.c +++ b/linux/drivers/media/video/cx18/cx18-driver.c @@ -421,6 +421,7 @@ static int __devinit cx18_init_struct1(struct cx18 *cx) mutex_init(&cx->serialize_lock); mutex_init(&cx->i2c_bus_lock[0]); mutex_init(&cx->i2c_bus_lock[1]); + mutex_init(&cx->gpio_lock); spin_lock_init(&cx->lock); spin_lock_init(&cx->dma_reg_lock); |