diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-21 14:36:12 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-27 08:25:48 +0900 |
| commit | 5b1689a41f02955c5361944f748a4812a6ff9307 (patch) | |
| tree | 11832cff0cdd39fff86aa83c899099c832e9b35f /scripts/dummy-tools/python3 | |
| parent | 254f49634ee16a731174d2ae34bc50bd5f45e731 (diff) | |
spi: cadence: fix unclocked access on unbind
Make sure that the controller is runtime resumed before disabling it
during driver unbind to avoid unclocked register access and unbalanced
clock disable.
Also restore the autosuspend setting.
This issue was flagged by Sashiko when reviewing a controller
deregistration fix.
Fixes: d36ccd9f7ea4 ("spi: cadence: Runtime pm adaptation")
Cc: stable@vger.kernel.org # 4.7
Cc: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://sashiko.dev/#/patchset/20260414134319.978196-1-johan%40kernel.org?part=1
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260421123615.1533617-2-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
