summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-single.c
diff options
context:
space:
mode:
authorYingjoe Chen <yingjoe.chen@mediatek.com>2016-04-02 09:57:49 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-04-15 11:28:04 +0300
commit5fedbb923936174ab4d1d5cc92bca1cf6b2e0ca2 (patch)
tree166343c1925b02eff84fc5365052750e37145512 /drivers/pinctrl/pinctrl-single.c
parent6dd22a116614acf33aeef13861e32510ef9d5392 (diff)
downloadlinux-5fedbb923936174ab4d1d5cc92bca1cf6b2e0ca2.tar.xz
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 'drivers/pinctrl/pinctrl-single.c')
0 files changed, 0 insertions, 0 deletions