diff options
author | Yingjoe Chen <[email protected]> | 2016-04-02 14:57:49 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2016-04-15 10:28:04 +0200 |
commit | 5fedbb923936174ab4d1d5cc92bca1cf6b2e0ca2 (patch) | |
tree | 166343c1925b02eff84fc5365052750e37145512 /lib/memory-notifier-error-inject.c | |
parent | 6dd22a116614acf33aeef13861e32510ef9d5392 (diff) |
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: [email protected]
Signed-off-by: Yingjoe Chen <[email protected]>
Reviewed-by: Daniel Kurtz <[email protected]>
Acked-by: Hongzhou Yang <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions