Skip to contentSkip to conversation

spi: cs42l43: Remove spurious pm_runtime_disable

PATCH In review Charles Keepax 2 participants 2 messages Sep 22, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: cs42l43: Remove spurious pm_runtime_disable

A pm_runtime_disable was left in when the driver was ported to use devm_pm_runtime_enable, remove it.

Fixes ef75e767167a ("spi: cs42l43: Add SPI controller support")
---
 drivers/spi/spi-cs42l43.c | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spi-cs42l43.c +0 -1
index 453a9b37ce785..d239fc5a49ccc 100644
@@ -256,7 +256,6 @@ static int cs42l43_spi_probe(struct platform_device *pdev)
 
 	ret = devm_spi_register_controller(priv->dev, priv->ctlr);
 	if (ret) {
-		pm_runtime_disable(priv->dev);
 		dev_err(priv->dev, "Failed to register SPI controller: %d\n", ret);
 	}
 
Signature · 1 line
2.39.2
maintainer
#1 lore raw
Quoted 4 lines · Charles Keepax

A pm_runtime_disable was left in when the driver was ported to use devm_pm_runtime_enable, remove it.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: cs42l43: Remove spurious pm_runtime_disable

      commit: f6267c81dbd9c66e5d7dfd65e5a849f688c877b8

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark