Commit 29042073 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller

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
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment