diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-21 15:02:09 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-22 13:49:14 +0100 |
| commit | 97b17dd8266d2e26d9ee3c75a0fa34ecde6944f0 (patch) | |
| tree | 880363c8b941b9dbb98ff761a48dbd36e3fa0204 /include/linux/platform_data | |
| parent | 922f8c28811f266fe5fc52a6d2852871e40ce098 (diff) | |
spi: orion: fix runtime pm leak on unbind
Make sure to balance the runtime PM usage count on driver unbind so that
the controller can be suspended when a driver is rebound.
Also restore the autosuspend setting.
This issue was flagged by Sashiko when reviewing a controller
deregistration fix.
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>
Link: https://sashiko.dev/#/patchset/20260414134319.978196-1-johan%40kernel.org?part=6
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260421130211.1537628-2-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
