Thread (2 messages) 2 messages, 2 authors, 2021-08-12

Re: [PATCH] gpio: omap: Enable software fallback for long debounce periods

From: Tony Lindgren <tony@atomide.com>
Date: 2021-08-12 07:48:11
Also in: linux-gpio

* Ben Hutchings [off-list ref] [210811 20:28]:
omap2_set_gpio_debounce() currently returns -EINVAL if the debounce
period is too long to be handled in hardware.  gpiolib provides a
software fallback, but it is used only if the driver returns
-ENOTSUPP.

* Enable the software fallback by using the expected error code
* Downgrade the log message about this from info to debug, since
  the error is now handled
Looks good to me:

Reviewed-by: Tony Lindgren <tony@atomide.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help