diff options
| author | Felix Gu <ustc.gu@gmail.com> | 2026-06-27 00:02:29 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-30 19:58:20 +0100 |
| commit | 7fc2c3dcae28347a30ccd76c8817e5719005f1c3 (patch) | |
| tree | faa35fd4ccd5edea83cf6fa0ed442b831a0573f9 /scripts/Makefile.thinlto | |
| parent | eeda4e1e6d7e178f9638b039f93a01ba2066bbfa (diff) | |
| download | linux-7fc2c3dcae28347a30ccd76c8817e5719005f1c3.tar.gz linux-7fc2c3dcae28347a30ccd76c8817e5719005f1c3.zip | |
spi: rzv2h-rspi: Fix DMA transfer error handling for signal interruption
wait_event_interruptible_timeout() can return a negative error code when
interrupted by a signal. The original code treated all non-zero return
values as success, which would incorrectly synchronize DMA channels and
return 0 instead of propagating the interruption error.
Fixes: fa08b566860b ("spi: rzv2h-rspi: add support for DMA mode")
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Tested-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://patch.msgid.link/20260627-rspi-v1-1-170c93ee14da@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
