diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-12-19 21:48:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-21 13:14:00 -0800 |
commit | 29042073e7af55334ac3c4f2a8340263200c5749 (patch) | |
tree | 70f235770d6dabaedbec0f6e4fbfe6facdd16bf7 /drivers/atm/solos-pci.c | |
parent | c4271c6e37c32105492cbbed35f45330cb327b94 (diff) | |
download | linux-stable-29042073e7af55334ac3c4f2a8340263200c5749.tar.gz linux-stable-29042073e7af55334ac3c4f2a8340263200c5749.tar.bz2 linux-stable-29042073e7af55334ac3c4f2a8340263200c5749.zip |
solos-pci: double lock in geos_gpio_store()
There is a typo here so we do a double lock instead of an unlock.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/solos-pci.c')
-rw-r--r-- | drivers/atm/solos-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c index d70abe77f737..d47db401027f 100644 --- a/drivers/atm/solos-pci.c +++ b/drivers/atm/solos-pci.c @@ -538,7 +538,7 @@ static ssize_t geos_gpio_store(struct device *dev, struct device_attribute *attr } else { count = -EINVAL; } - spin_lock_irq(&card->param_queue_lock); + spin_unlock_irq(&card->param_queue_lock); return count; } |