aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2024-01-25 14:53:09 -0600
committerMark Brown <[email protected]>2024-01-25 21:55:48 +0000
commit8c2ae772fe08e33f3d7a83849e85539320701abd (patch)
tree557810416e4652e88301b39db19fe74204b7a6e8 /lib
parentf9f4b0c6425eb9ffd9bf62b8b8143e786b6ba695 (diff)
spi: fix finalize message on error return
In __spi_pump_transfer_message(), the message was not finalized in the first error return as it is in the other error return paths. Not finalizing the message could cause anything waiting on the message to complete to hang forever. This adds the missing call to spi_finalize_current_message(). Fixes: ae7d2346dc89 ("spi: Don't use the message queue if possible in spi_sync") Signed-off-by: David Lechner <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions