projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
5002898
eede42c
)
Merge remote-tracking branch 'spi/for-6.2' into spi-6.2
author
Mark Brown
<broonie@kernel.org>
Mon, 30 Jan 2023 10:47:16 +0000
(10:47 +0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 30 Jan 2023 10:47:16 +0000
(10:47 +0000)
1
2
drivers/spi/spidev.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
drivers/spi/spidev.c
index 1935ca61344706a60f9c497d8d2c4052414fe12d,a1ea093795cfba480952919ce561a9cd7e34cadc..3db94d1483ed7591606d5642327188c3f414e945
---
1
/
drivers/spi/spidev.c
---
2
/
drivers/spi/spidev.c
+++ b/
drivers/spi/spidev.c
@@@
-101,12
-113,10
+113,11
@@@
spidev_sync(struct spidev_data *spidev
if (spi == NULL)
status = -ESHUTDOWN;
else
- status = spi
_sync
(spi, message);
+ status = spi
dev_sync_unlocked
(spi, message);
- if (status == 0)
- status = message->actual_length;
+ mutex_unlock(&spidev->spi_lock);
+ mutex_unlock(&spidev->spi_lock);
return status;
}