summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Semin <fancer.lancer@gmail.com>2025-09-15 17:32:48 +0300
committerSerge Semin <fancer.lancer@gmail.com>2026-08-13 20:37:48 +0300
commit5004cf52edcd5d2fd70c9186b980ea1d93deda34 (patch)
tree197cde5ba2d9c1fc3f19cc76fbe8286a10e04f48
parentcf39f0286dee2cae124b8d34c6b5336954cffa22 (diff)
downloadlinux-5004cf52edcd5d2fd70c9186b980ea1d93deda34.tar.gz
linux-5004cf52edcd5d2fd70c9186b980ea1d93deda34.zip
net: pcs: xpcs: Drop incorrect PM-active state
By default CSR clock is disabled upon request. It makes the PM-runtime state matching the default PM-state of the device - suspended. Thus let's drop the PM-runtime setting up to be active as incorrect. Otherwise the clock-subsystem will be unhappily printing a big fat warning about n-preparing an already unprepared clock. Fixes: f6bb3e9d98c2 ("net: pcs: xpcs: Add Synopsys DW xPCS platform device driver") Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
-rw-r--r--drivers/net/pcs/pcs-xpcs-plat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/pcs/pcs-xpcs-plat.c b/drivers/net/pcs/pcs-xpcs-plat.c
index b8c48f9effbf7..e48b9586026c1 100644
--- a/drivers/net/pcs/pcs-xpcs-plat.c
+++ b/drivers/net/pcs/pcs-xpcs-plat.c
@@ -285,7 +285,6 @@ static int xpcs_plat_init_clk(struct dw_xpcs_plat *pxpcs)
return dev_err_probe(dev, PTR_ERR(pxpcs->cclk),
"Failed to get CSR clock\n");
- pm_runtime_set_active(dev);
ret = devm_pm_runtime_enable(dev);
if (ret) {
dev_err(dev, "Failed to enable runtime-PM\n");