summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-04-20 14:02:37 +0200
committerSimon Horman <horms+renesas@verge.net.au>2016-04-22 09:23:31 +0200
commit68667cebfc0d27d2153d7a6b489f3231b533d9bc (patch)
tree049acd0c679faa9a152739eee845e235ab3d7559
parentsoc: renesas: Move pm-rcar to drivers/soc/renesas/rcar-sysc (diff)
downloadlinux-68667cebfc0d27d2153d7a6b489f3231b533d9bc.tar.xz
linux-68667cebfc0d27d2153d7a6b489f3231b533d9bc.zip
soc: renesas: rcar-sysc: Improve rcar_sysc_power() debug info
Print requested power domain state. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--drivers/soc/renesas/rcar-sysc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c
index d59bcdf78f0b..9ba5fd15c53b 100644
--- a/drivers/soc/renesas/rcar-sysc.c
+++ b/drivers/soc/renesas/rcar-sysc.c
@@ -128,7 +128,7 @@ static int rcar_sysc_power(const struct rcar_sysc_ch *sysc_ch, bool on)
out:
spin_unlock_irqrestore(&rcar_sysc_lock, flags);
- pr_debug("sysc power domain %d: %08x -> %d\n",
+ pr_debug("sysc power %s domain %d: %08x -> %d\n", on ? "on" : "off",
sysc_ch->isr_bit, ioread32(rcar_sysc_base + SYSCISR), ret);
return ret;
}