Commit 629138cd authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman

clk: renesas: cpg-mssr: Fix inverted debug check

commit bc4725d9 upstream.

The intention was to enable the checks if debugging is enabled, not
disabled.

Fixes: f793d1e5 ("clk: shmobile: Add new CPG/MSSR driver core")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 47e34725
......@@ -33,9 +33,9 @@
#include "clk-div6.h"
#ifdef DEBUG
#define WARN_DEBUG(x) do { } while (0)
#else
#define WARN_DEBUG(x) WARN_ON(x)
#else
#define WARN_DEBUG(x) do { } while (0)
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment