Unverified Commit f6267c81 authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

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: ef75e767 ("spi: cs42l43: Add SPI controller support")
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230922090829.1467594-1-ckeepax@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4221a2be
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);
	}