summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-04-21 15:36:13 +0300
committerMark Brown <broonie@kernel.org>2026-04-27 02:25:49 +0300
commitecea4f0e9db2fb6ab4a68a59c5aba0d8f59a9566 (patch)
treec3d1098db7f40355d8ce1c341d2a0c69172834bf /include/linux
parent5b1689a41f02955c5361944f748a4812a6ff9307 (diff)
downloadlinux-ecea4f0e9db2fb6ab4a68a59c5aba0d8f59a9566.tar.xz
spi: cadence: fix clock imbalance on probe failure
Make sure that the controller is active before disabling clocks on probe failure to avoid unbalanced clock disable. Also drop the usage count before returning (so that the controller can be suspended after a probe deferral) and restore the autosuspend setting. Fixes: d36ccd9f7ea4 ("spi: cadence: Runtime pm adaptation") Cc: stable@vger.kernel.org # 4.7 Cc: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260421123615.1533617-3-johan@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions