summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-04-21 16:39:23 +0200
committerMark Brown <broonie@kernel.org>2026-04-22 15:05:51 +0100
commitcde1a784e4d55068d8dd7ee9bf4794898a2ac410 (patch)
tree099be2b97bb37acb2f4ff6e92dafc834642ce13a /include
parent922f8c28811f266fe5fc52a6d2852871e40ce098 (diff)
spi: axiado: fix runtime pm imbalance on probe failure
Make sure that the controller is active before disabling clocks on late probe failure and on driver unbind to avoid a clock disable imbalance. Also make sure that the usage count is balanced on probe failure (e.g. probe deferral) so that the controller can be suspended when a driver is later bound. Note that the runtime PM state can only be set when runtime PM is disabled. Fixes: e75a6b00ad79 ("spi: axiado: Add driver for Axiado SPI DB controller") Cc: stable@vger.kernel.org # 7.0 Cc: Vladimir Moravcevic <vmoravcevic@axiado.com> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260421143925.1551781-2-johan@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions