summaryrefslogtreecommitdiffstats
path: root/drivers/atm/solos-pci.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-12-19 22:48:45 +0100
committerDavid S. Miller <davem@davemloft.net>2012-12-21 22:14:00 +0100
commit29042073e7af55334ac3c4f2a8340263200c5749 (patch)
tree70f235770d6dabaedbec0f6e4fbfe6facdd16bf7 /drivers/atm/solos-pci.c
parentNFS: Kill fscache warnings when mounting without -ofsc (diff)
downloadlinux-29042073e7af55334ac3c4f2a8340263200c5749.tar.xz
linux-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.c2
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;
}