From: Dan Carpenter Date: Wed, 19 Dec 2012 21:48:45 +0000 (+0000) Subject: solos-pci: double lock in geos_gpio_store() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29042073e7af55334ac3c4f2a8340263200c5749;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: David Woodhouse Signed-off-by: David S. Miller --- 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; }