Re: [PATCH v4 6/6] pinctrl: baytrail: Add debounce configuration

From: Linus Walleij
Date: Mon Apr 04 2016 - 10:17:38 EST


On Fri, Apr 1, 2016 at 1:00 PM, Cristina Ciocan
<cristina.ciocan@xxxxxxxxx> wrote:

> Make debounce setting and getting functionality available when
> configurating a certain pin.
>
> Signed-off-by: Cristina Ciocan <cristina.ciocan@xxxxxxxxx>

Patch applied.

And as this is another case where GPIO has a debounce
setting call: gpiod_set_debounce() this is another case for
my suggested pinctrl_gpio_set_config() as that call is
currently not implemented in your corresponding .set_debounce()
callback for the GPIO chip, but could easily be handled
by calling back into the pinctrl back-end, right?

Yours,
Linus Walleij