]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: cadence-quadspi: fix runtime pm disable imbalance on probe failure
authorJohan Hovold <johan@kernel.org>
Tue, 21 Apr 2026 12:53:49 +0000 (14:53 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 26 Apr 2026 23:26:35 +0000 (08:26 +0900)
commit5ff4d5d1af0c7517bd8db83c95c4247a9729a548
tree650489a27ff5f82f49ab3a42bdeae2869e02b42a
parent922f8c28811f266fe5fc52a6d2852871e40ce098
spi: cadence-quadspi: fix runtime pm disable imbalance on probe failure

A recent attempt to fix the probe error handling introduced a runtime PM
disable depth imbalance by incorrectly disabling runtime PM on early
failures (e.g. probe deferral).

Fixes: f18c8cfa4f1a ("spi: cadence-qspi: Fix probe error path and remove")
Cc: stable@vger.kernel.org # 7.0
Cc: Miquel Raynal (Schneider Electric) <miquel.raynal@bootlin.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260421125354.1534871-2-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence-quadspi.c