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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Ben Hutchings <ben.hutchings@xxxxxxx> [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@xxxxxxxxxxx>



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux