Subject: [patch] solos-pci: double lock in geos_gpio_store()

From: Dan Carpenter <[email-masked]>
Date: Thu, 20 Dec 2012 10:48:45 +0300

There is a typo here so we do a double lock instead of an unlock.

Signed-off-by: Dan Carpenter <[email-masked]>
---
Only needed in linux-next.  Introduced in f9baad02e7411d9 [14/17]
solos-pci: add GPIO support for newer versions on Geos board

diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
index 473d808..7b95736 100644
--- a/drivers/atm/solos-pci.c
+++ b/drivers/atm/solos-pci.c
@@ -531,7 +531,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;
 }