]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
gpiolib: acpi: Take into account debounce settings
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 9 Nov 2020 20:53:26 +0000 (22:53 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Nov 2020 12:14:35 +0000 (14:14 +0200)
commit8dcb7a15a585b6d0fee15751ce11d7a68cfedd56
tree79c5dfd3e956b5b974bf3e54df153828cade07d5
parent32fa65527ce13607de0fbf2e7aeddb978ea2220a
gpiolib: acpi: Take into account debounce settings

We didn't take into account the debounce settings supplied by ACPI.
This change is targeting the mentioned gap.

Reported-by: Coiby Xu <coiby.xu@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/gpio/gpiolib-acpi.c
drivers/gpio/gpiolib-acpi.h