diff options
author | Boris BREZILLON <b.brezillon@overkiz.com> | 2013-09-13 11:47:22 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-09-27 16:11:34 +0400 |
commit | c8dba02e7d5552a360ee5839f828856dd3a827cd (patch) | |
tree | 3985fd90faa5b1e914dbb055f544c4d8e593dcf9 /drivers/oprofile/event_buffer.h | |
parent | 77966ad7b68112b1a536f994d78d88a9eaca25bc (diff) | |
download | linux-c8dba02e7d5552a360ee5839f828856dd3a827cd.tar.xz |
pinctrl: at91: fix sam9x5 debounce/deglitch functions
Replace at91_mux_get_deglitch with at91_mux_pio3_get_deglitch when using
sam9x5 (pio3) IP.
at91_mux_get_deglitch only test the activation of the "Input Filter" which
may be overloaded by the activation of the "Input Filter Slow Clock" to use
the input filter as a debounce filter instead of a deglitch filter.
Fix at91_mux_pio3_get_debounce to test the activation of the Input Filter
before testing the activation of the debounce filter (Input Filter Slow
Clock depends on Input Filter).
Fix at91_mux_pio3_set_debounce function to avoid disabling the deglitch
filter ("Input Filter") when debounce filter is disabled.
Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/oprofile/event_buffer.h')
0 files changed, 0 insertions, 0 deletions