diff options
| author | Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com> | 2025-12-01 15:42:18 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-14 19:38:29 +0900 |
| commit | 9e4830b35dc0d522f45e1ec3ee5b1ff1648afe1b (patch) | |
| tree | e9ead60a7726b28d9f7b777b7ff46203853846b7 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | fb0140774aff45b8dc326987cc1da89484ecb081 (diff) | |
spi: rzv2h-rspi: remove call to spi_finalize_current_transfer()
A call to spi_finalize_current_transfer() is only needed when the SPI
transfer is completed outside of the current context, when the
.transfer_one() implementation returns > 0.
Since the SPI transfer is completed in the current context, and we
return 0 from .transfer_one(), the SPI core assumes that the transfer
has completed and it does not wait for the completion variable that
would be set by a call to spi_finalize_current_transfer().
Remove the call to spi_finalize_current_transfer().
Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Link: https://patch.msgid.link/20251201134229.600817-3-cosmin-gabriel.tanislav.xa@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
