bus: ti-sysc: Make some warnings debug only
authorTony Lindgren <tony@atomide.com>
Fri, 28 Sep 2018 22:21:50 +0000 (15:21 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Sep 2018 22:27:33 +0000 (15:27 -0700)
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>
drivers/bus/ti-sysc.c

index d8ddf36eb0961fbaffe4c15ffa0dede80349bfb5..59df869109a328b6bbc916edd168ccc62d7c73b5 100644 (file)
@@ -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;
                }