Re: [PATCH] gpio: Drop CONFIG_DEBUG_GPIO

From: Andy Shevchenko
Date: Tue Mar 22 2022 - 10:38:36 EST


On Fri, Mar 11, 2022 at 4:55 AM Brian Norris <briannorris@xxxxxxxxxxxx> wrote:

...

> Description: it says nothing about enabling extra printk()s. But -DDEBUG
> does just that; it turns on every dev_dbg()/pr_debug() that would
> otherwise be silent.

Which is what some and I are using a lot during development.

...

> -ccflags-$(CONFIG_DEBUG_GPIO) += -DDEBUG
> -

NAK to this change.

I'm not against enabling might_sleep() unconditionally.

--
With Best Regards,
Andy Shevchenko