mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
5fedbb9239
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pinctrl-mt2701.c | ||
pinctrl-mt6397.c | ||
pinctrl-mt7623.c | ||
pinctrl-mt8127.c | ||
pinctrl-mt8135.c | ||
pinctrl-mt8173.c | ||
pinctrl-mtk-common.c | ||
pinctrl-mtk-common.h | ||
pinctrl-mtk-mt2701.h | ||
pinctrl-mtk-mt6397.h | ||
pinctrl-mtk-mt7623.h | ||
pinctrl-mtk-mt8127.h | ||
pinctrl-mtk-mt8135.h | ||
pinctrl-mtk-mt8173.h |