diff options
author | Yingjoe Chen <yingjoe.chen@mediatek.com> | 2016-04-02 14:57:49 +0800 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-05-08 08:09:01 -0400 |
commit | 56c61a30de3ff2b2327a3f4333a81ddfe3e42516 (patch) | |
tree | e34cf04777655a6ec7acd3ef382537acd7fd04b1 /drivers/lguest | |
parent | 6e39cdfc828fc5938e9d4e99f446930009ac35f2 (diff) |
pinctrl: mediatek: correct debounce time unit in mtk_gpio_set_debounce
[ Upstream commit 5fedbb923936174ab4d1d5cc92bca1cf6b2e0ca2 ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions