linux/drivers/pinctrl/mediatek
Yingjoe Chen 5fedbb9239 pinctrl: mediatek: correct debounce time unit in mtk_gpio_set_debounce
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.

Cc: stable@vger.kernel.org
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>
2016-04-15 10:28:04 +02:00
..
Kconfig pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for MT7623 2016-02-19 10:05:14 +01:00
Makefile pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for MT7623 2016-02-19 10:05:14 +01:00
pinctrl-mt2701.c pinctrl: mtk2701: skip setting .owner 2016-02-17 17:08:47 +01:00
pinctrl-mt6397.c pinctrl: pinctrl-mt6397 driver explicitly non-modular 2016-03-09 10:22:54 +07:00
pinctrl-mt7623.c pinctrl: mediatek/7623: delete unnecessary .owner 2016-02-25 16:25:55 +01:00
pinctrl-mt8127.c pinctrl: mediatek: mt8* make driver explicitly non-modular 2016-01-27 14:59:31 +01:00
pinctrl-mt8135.c pinctrl: mediatek: mt8* make driver explicitly non-modular 2016-01-27 14:59:31 +01:00
pinctrl-mt8173.c pinctrl: mediatek: mt8* make driver explicitly non-modular 2016-01-27 14:59:31 +01:00
pinctrl-mtk-common.c pinctrl: mediatek: correct debounce time unit in mtk_gpio_set_debounce 2016-04-15 10:28:04 +02:00
pinctrl-mtk-common.h pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701 2016-01-28 11:12:03 +01:00
pinctrl-mtk-mt2701.h pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701 2016-01-28 11:12:03 +01:00
pinctrl-mtk-mt6397.h pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397. 2015-05-19 11:16:17 +02:00
pinctrl-mtk-mt7623.h pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for MT7623 2016-02-19 10:05:14 +01: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: mediatek: Fix include directive 2015-03-18 10:58:21 +01:00
pinctrl-mtk-mt8173.h pinctrl: mediatek: mt8135/mt8173: Fix build error due to missing include file 2015-03-18 13:06:09 +01:00