Skip to content
Snippets Groups Projects
Commit 29042073 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c4271c6e
No related merge requests found
...@@ -538,7 +538,7 @@ static ssize_t geos_gpio_store(struct device *dev, struct device_attribute *attr ...@@ -538,7 +538,7 @@ static ssize_t geos_gpio_store(struct device *dev, struct device_attribute *attr
} else { } else {
count = -EINVAL; count = -EINVAL;
} }
spin_lock_irq(&card->param_queue_lock); spin_unlock_irq(&card->param_queue_lock);
return count; return count;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment