summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-zynq.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-03-07 13:56:23 +0200
committerBartosz Golaszewski <brgl@bgdev.pl>2022-03-07 15:25:27 +0100
commit660c619b9d7ccd28648ee3766cdbe94ec7b27402 (patch)
tree515bdab41af98194a4eb1677d9627fc63e0fbcfd /drivers/gpio/gpio-zynq.c
parentfc328a7d1fcce263db0b046917a66f3aa6e68719 (diff)
downloadlinux-660c619b9d7ccd28648ee3766cdbe94ec7b27402.tar.bz2
gpiolib: acpi: Convert ACPI value of debounce to microseconds
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@canonical.com> Fixes: 8dcb7a15a585 ("gpiolib: acpi: Take into account debounce settings") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/gpio/gpio-zynq.c')
0 files changed, 0 insertions, 0 deletions