Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}