diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-10 10:17:46 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-10 13:22:37 +0100 |
| commit | 123d17dbc5f07059752fa5e616385ca29a8f935a (patch) | |
| tree | be93b29ab987bc290eb33e625b0c57b9107321df /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | ab840cbda4fe6c40e52f6415c47056797c663bb2 (diff) | |
spi: sprd: fix controller deregistration
Make sure to deregister the controller before disabling underlying
resources like clocks during driver unbind.
Note that the controller is suspended before disabling and releasing
resources since commit de082d866cce ("spi: sprd: Add the SPI irq
function for the SPI DMA mode") which avoids issues like unclocked
accesses but prevents SPI device drivers from doing I/O during
deregistration.
Fixes: e7d973a31c24 ("spi: sprd: Add SPI driver for Spreadtrum SC9860")
Cc: stable@vger.kernel.org # 4.20
Cc: Lanqing Liu <lanqing.liu@spreadtrum.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260410081757.503099-17-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
