aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-03-07 13:56:23 +0200
committerBartosz Golaszewski <[email protected]>2022-03-07 15:25:27 +0100
commit660c619b9d7ccd28648ee3766cdbe94ec7b27402 (patch)
tree515bdab41af98194a4eb1677d9627fc63e0fbcfd /scripts/gcc-plugins/structleak_plugin.c
parentfc328a7d1fcce263db0b046917a66f3aa6e68719 (diff)
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 <[email protected]> Fixes: 8dcb7a15a585 ("gpiolib: acpi: Take into account debounce settings") Signed-off-by: Andy Shevchenko <[email protected]> Tested-by: Kai-Heng Feng <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions