soc: renesas: rcar-sysc: Improve rcar_sysc_power() debug info
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 20 Apr 2016 12:02:37 +0000 (14:02 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 22 Apr 2016 07:23:31 +0000 (17:23 +1000)
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>
drivers/soc/renesas/rcar-sysc.c

index d59bcdf78f0b56ba4ef5c52af7c05b9cf4d8f793..9ba5fd15c53bf9b990b870b6814a82fb81f547ec 100644 (file)
@@ -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;
 }