diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-21 15:02:10 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-22 13:49:15 +0100 |
| commit | 443cde0dc59c5d154156ac9f27a7dadef8ebc0c2 (patch) | |
| tree | b098770cfb72cef309b68b1e041341df14ba41c0 /include/linux/platform_data | |
| parent | 97b17dd8266d2e26d9ee3c75a0fa34ecde6944f0 (diff) | |
spi: orion: fix clock imbalance on registration failure
Make sure that the controller is not runtime suspended before disabling
clocks on probe failure.
Also restore the autosuspend setting.
Fixes: 5c6786945b4e ("spi: spi-orion: add runtime PM support")
Cc: stable@vger.kernel.org # 3.17
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260421130211.1537628-3-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
