gpio: max77620: Use correct unit for debounce times
authorThierry Reding <treding@nvidia.com>
Wed, 2 Oct 2019 12:28:23 +0000 (14:28 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Oct 2019 21:58:10 +0000 (23:58 +0200)
commitfffa6af94894126994a7600c6f6f09b892e89fa9
treedb60b6c5437ab82a065336ed7c0aac5dcdf8b123
parentb8cd253a06dc1d06dfed5c0ed1ec886e1706d3fe
gpio: max77620: Use correct unit for debounce times

The gpiod_set_debounce() function takes the debounce time in
microseconds. Adjust the switch/case values in the MAX77620 GPIO to use
the correct unit.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20191002122825.3948322-1-thierry.reding@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-max77620.c