summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorYingjoe Chen <yingjoe.chen@mediatek.com>2016-04-02 08:57:49 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-04-15 10:28:04 +0200
commit5fedbb923936174ab4d1d5cc92bca1cf6b2e0ca2 (patch)
tree166343c1925b02eff84fc5365052750e37145512 /kernel
parentpinctrl: imx: Kconfig: PINCTRL_IMX select REGMAP (diff)
downloadlinux-5fedbb923936174ab4d1d5cc92bca1cf6b2e0ca2.tar.xz
linux-5fedbb923936174ab4d1d5cc92bca1cf6b2e0ca2.zip
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions