aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-11-08 17:07:47 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-11-12 11:18:52 +0100
commitf88c117b6d6d7e96557b6ee143b26b550fc51076 (patch)
tree1c15a8009fe7466be2a9ab398f620a47b3ae101b /tools
parentgpio: max77620: Fixup debounce delays (diff)
downloadlinux-dev-f88c117b6d6d7e96557b6ee143b26b550fc51076.tar.xz
linux-dev-f88c117b6d6d7e96557b6ee143b26b550fc51076.zip
gpio: bd70528: Use correct unit for debounce times
The debounce time passed to gpiod_set_debounce() is specified in microseconds, so make sure to use the correct unit when computing the register values, which denote delays in milliseconds. Signed-off-by: Thierry Reding <treding@nvidia.com> Cc: <stable@vger.kernel.org> Fixes: 18bc64b3aebf ("gpio: Initial support for ROHM bd70528 GPIO block") [Bartosz: fixed a typo in commit message] Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions