[PATCH] lantiq: XWAY: report PMU module for which activation/deactivation failed
Enrico Mioso
mrkiko.rs at gmail.com
Sun Sep 1 23:04:19 EDT 2019
Helps in diagnosing issues when porting new devices.
Signed-off-by: Enrico Mioso <mrkiko.rs at gmail.com>
---
arch/mips/lantiq/xway/sysctrl.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
index c7f6dee..b30fdcc 100644
--- a/arch/mips/lantiq/xway/sysctrl.c
+++ b/arch/mips/lantiq/xway/sysctrl.c
@@ -165,7 +165,7 @@ void ltq_pmu_enable(unsigned int module)
spin_unlock(&g_pmu_lock);
if (!retry)
- panic("activating PMU module failed!");
+ panic("activating PMU module %u failed!",module);
}
EXPORT_SYMBOL(ltq_pmu_enable);
@@ -180,7 +180,7 @@ void ltq_pmu_disable(unsigned int module)
spin_unlock(&g_pmu_lock);
if (!retry)
- pr_warn("deactivating PMU module failed!");
+ pr_warn("deactivating PMU module %u failed!",module);
}
EXPORT_SYMBOL(ltq_pmu_disable);
@@ -218,7 +218,7 @@ static int pmu_enable(struct clk *clk)
}
if (!retry)
- panic("activating PMU module failed!");
+ panic("activating PMU module %u (clock gate) failed!",clk->module);
return 0;
}
@@ -243,7 +243,7 @@ static void pmu_disable(struct clk *clk)
}
if (!retry)
- pr_warn("deactivating PMU module failed!");
+ pr_warn("deactivating PMU module %u (clock gate) failed!",clk->module);
}
static void usb_set_clock(void)
--
2.23.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list