[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121220074845.GA14716@elgon.mountain>
Date: Thu, 20 Dec 2012 10:48:45 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Chas Williams <chas@....nrl.navy.mil>,
Nathan Williams <nathan@...verse.com.au>,
David Woodhouse <David.Woodhouse@...el.com>
Cc: linux-atm-general@...ts.sourceforge.net, netdev@...r.kernel.org,
kbuild@...org
Subject: [patch] 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@...cle.com>
---
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;
}
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists