summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-09-29 00:21:50 +0200
committerTony Lindgren <tony@atomide.com>2018-09-29 00:27:33 +0200
commitf949078302594b2f68aa8b4f94dae540d9b66d2c (patch)
treecbf64dec054019352a4559f620c78252ce05619d
parentbus: ti-sysc: Detect devices for debug on dra7 (diff)
downloadlinux-f949078302594b2f68aa8b4f94dae540d9b66d2c.tar.xz
linux-f949078302594b2f68aa8b4f94dae540d9b66d2c.zip
bus: ti-sysc: Make some warnings debug only
We're currently warning about busy children on suspend in sysc_child_suspend_noirq() but the legacy code omap_device does not do that. Let's just make it dev_dbg() instead of dev_warn(). Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--drivers/bus/ti-sysc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
index d8ddf36eb096..59df869109a3 100644
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -1253,8 +1253,8 @@ static int sysc_child_suspend_noirq(struct device *dev)
if (!pm_runtime_status_suspended(dev)) {
error = pm_generic_runtime_suspend(dev);
if (error) {
- dev_warn(dev, "%s busy at %i: %i\n",
- __func__, __LINE__, error);
+ dev_dbg(dev, "%s busy at %i: %i\n",
+ __func__, __LINE__, error);
return 0;
}