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
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>