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 SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux