projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8f5a7c
)
spi: spidev: Fix double unlock in spidev_sync()
author
Dan Carpenter
<error27@gmail.com>
Mon, 6 Feb 2023 14:47:38 +0000
(17:47 +0300)
committer
Mark Brown
<broonie@kernel.org>
Mon, 6 Feb 2023 14:51:33 +0000
(14:51 +0000)
This unlocks twice due to a merge issue.
Fixes: 35bba23e6732 ("Merge remote-tracking branch 'spi/for-6.2' into spi-6.2")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Link:
https://lore.kernel.org/r/Y+ETCk7XKfAy8yWQ@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spidev.c
b/drivers/spi/spidev.c
index f836567c631b5703b09264f207846a64086189f8..5a038c6674018ba0df331888009a8bc04f3e57de 100644
(file)
--- a/
drivers/spi/spidev.c
+++ b/
drivers/spi/spidev.c
@@
-115,8
+115,6
@@
spidev_sync(struct spidev_data *spidev, struct spi_message *message)
else
status = spidev_sync_unlocked(spi, message);
- mutex_unlock(&spidev->spi_lock);
-
mutex_unlock(&spidev->spi_lock);
return status;
}