Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae00a308 authored by David Collins's avatar David Collins
Browse files

regulator: cpr-regulator: disable all debug printing by default



Recent targets trigger many CPR interrupts while in steady state.
This results in a huge amount of noise in the kernel log since
CPR interrupt messages are printed by default.  Change the
default behavior so that no CPR debug messages are printed.

It is still possible to re-enable cpr-regulator debug printing
at runtime from userspace if necessary.

Change-Id: I24227c08c27e1039278a36d758463bcdd78b93aa
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 95d4795f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -278,7 +278,7 @@ struct cpr_regulator {
#define CPR_DEBUG_MASK_IRQ	BIT(0)
#define CPR_DEBUG_MASK_API	BIT(1)

static int cpr_debug_enable = CPR_DEBUG_MASK_IRQ;
static int cpr_debug_enable;
#if defined(CONFIG_DEBUG_FS)
static struct dentry *cpr_debugfs_base;
#endif