android_kernel_samsung_univ.../drivers/pinctrl/mediatek
Yingjoe Chen c7ce82609f pinctrl: mediatek: correct debounce time unit in mtk_gpio_set_debounce
commit 5fedbb923936174ab4d1d5cc92bca1cf6b2e0ca2 upstream.

The debounce time unit for gpio_chip.set_debounce is us but
mtk_gpio_set_debounce regard it as ms.
Fix this by correct debounce time array dbnc_arr so it can find correct
debounce setting. Debounce time for first debounce setting is 500us,
correct this as well.

While I'm at it, also change the debounce time array name to
"debounce_time" for readability.

Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-04 14:48:45 -07:00
..
Kconfig pinctrl: mediatek: add OF dependency to MT6397 2015-05-20 09:11:23 +02:00
Makefile pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt8127 2015-05-19 11:17:45 +02:00
pinctrl-mt6397.c pinctrl: Remove .owner field 2015-06-04 10:12:42 +02:00
pinctrl-mt8127.c pinctrl: Remove .owner field 2015-06-04 10:12:42 +02:00
pinctrl-mt8135.c pinctrl: Remove .owner field 2015-06-04 10:12:42 +02:00
pinctrl-mt8173.c pinctrl: mediatek: Implement wake handler and suspend resume 2015-08-26 14:39:43 +02:00
pinctrl-mtk-common.c pinctrl: mediatek: correct debounce time unit in mtk_gpio_set_debounce 2016-05-04 14:48:45 -07:00
pinctrl-mtk-common.h pinctrl: mediatek: Implement wake handler and suspend resume 2015-08-26 14:39:43 +02:00
pinctrl-mtk-mt6397.h pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397. 2015-05-19 11:16:17 +02:00
pinctrl-mtk-mt8127.h pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt8127 2015-05-19 11:17:45 +02:00
pinctrl-mtk-mt8135.h
pinctrl-mtk-mt8173.h