Linus Walleij 65d876564e 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>
2013-09-04 14:22:47 +02:00
..
2013-06-17 07:53:00 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-06-11 15:44:57 -07:00
2012-11-28 11:39:59 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:33 -08:00
2013-08-16 15:24:35 +02:00
2011-06-06 10:10:11 -06:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:33 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-07-21 18:14:20 +02:00
2012-11-28 11:39:59 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:33 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:59 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-06-17 07:47:33 +02:00