From 5004cf52edcd5d2fd70c9186b980ea1d93deda34 Mon Sep 17 00:00:00 2001 From: Serge Semin Date: Mon, 15 Sep 2025 17:32:48 +0300 Subject: 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 --- drivers/net/pcs/pcs-xpcs-plat.c | 1 - 1 file changed, 1 deletion(-) 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"); -- cgit v1.2.3