diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-23 21:58:34 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-06-25 13:49:00 +0100 |
| commit | 6dbaa4d288432c697cea47028480481b8b29bd6a (patch) | |
| tree | 4ae50217f9c1b5a1c6d3f4e5067f434e3bc9c5ae /scripts/Makefile.thinlto | |
| parent | 245404c26563aafb36aafb01298f148db1851be3 (diff) | |
| download | linux-6dbaa4d288432c697cea47028480481b8b29bd6a.tar.gz linux-6dbaa4d288432c697cea47028480481b8b29bd6a.zip | |
spi: sh-msiof: abort transfers when reset times out
sh_msiof_spi_reset_regs() asserts TX/RX reset and polls until the reset
bits clear, but the poll result is ignored. sh_msiof_transfer_one() can
therefore continue programming a transfer after the controller did not
leave reset.
Return the reset poll result from the helper and abort the transfer on
timeout, matching the existing transfer path's error-return style.
Fixes: fedd6940682a ("spi: sh-msiof: Add reset of registers before starting transfer")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260623135834.55442-1-pengpeng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
