Skip to content

Commit

Permalink
solos-pci: double lock in geos_gpio_store()
Browse files Browse the repository at this point in the history
There is a typo here so we do a double lock instead of an unlock.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Dec 21, 2012
1 parent c4271c6 commit 2904207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/atm/solos-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2904207

Please sign in to comment.