diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-09-04 12:17:08 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-09-04 12:22:47 (GMT) |
commit | 65d876564e989b63b0f769e0e06b9830db97b2d9 (patch) | |
tree | 2549b0ba6ad1aa90f049cdc35ebf75ddd50b6271 /MAINTAINERS | |
parent | be1a4b13089b1e18da83a549d49163ccad3c19ba (diff) | |
download | linux-65d876564e989b63b0f769e0e06b9830db97b2d9.tar.xz |
gpio: return -ENOTSUPP if debounce cannot be set
It appears some drivers are using gpio_set_debounce()
opportunistically, i.e. without knowing whether it works or
not. (Example: input/keyboard/gpio_keys.c) to account for
this use case, return -ENOTSUPP and do not print any
warnings in this case.
Took a round over the other gpio_set_debounce() consumers
to make sure that none of them are relying on the returned
error code to be something specific.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions