Re: [RFC v1] opp: add config option for debug

From: Viresh Kumar
Date: Thu May 05 2022 - 01:59:09 EST


On 04-05-22, 19:48, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
>
> Currently OPP debug is enabled by DEBUG_DRIVER option. This is generic
> driver debug and opp floods serial console. This is annoying if opp is
> not needed so give it an additional config-key.
>
> Signed-off-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
> ---
> drivers/base/Kconfig | 1 +
> drivers/opp/Kconfig | 7 +++++++
> drivers/opp/Makefile | 2 +-
> 3 files changed, 9 insertions(+), 1 deletion(-)

Isn't something like Dynamic Debug helpful here ?

--
viresh