On Mon, Mar 07, 2022 at 01:56:23PM +0200, Andy Shevchenko wrote: > It appears that GPIO ACPI library uses ACPI debounce values directly. > However, the GPIO library APIs expect the debounce timeout to be in > microseconds. > > Convert ACPI value of debounce to microseconds. > > While at it, document this detail where it is appropriate. > > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=215664 > Reported-by: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx> > Fixes: 8dcb7a15a585 ("gpiolib: acpi: Take into account debounce settings") > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>