mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
spi: dw: fix wrong RX_SAMPLE_DLY setting after resume
On platforms which need a non-zero rx sample delay, the RX_SAMPLE_DLY reg setting is lost after resume. The reason is that the reg may be reset to 0 after resuming, but dws->cur_rx_sample_dly doesn't know this fact. Fix this issue by clearing dws->cur_rx_sample_dly in dw_spi_shutdown_chip(). Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Suggested-by: Mark Brown <broonie@kernel.org> Link: https://patch.msgid.link/20260803135925.12622-1-jszhang@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
e3775cbffa
commit
133c71b2c0
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue