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 16:53:16 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-07-12 13:40:13 +02:00
2013-08-16 15:24:35 +02:00
2013-06-30 01:37:07 +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
2012-09-01 01:12:01 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:33 -08:00
2013-08-30 09:25:52 +02:00
2012-03-16 11:15:48 -05:00
2013-04-11 19:33:54 +02:00
2013-06-19 21:40:38 +02: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 17:56:53 +02:00
2011-08-22 09:12:54 +01:00
2013-07-03 14:35:40 -07:00
2013-05-09 09:59:16 -07:00
2013-08-16 17:11:33 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-03-27 16:05:11 +01:00
2013-08-23 19:44:28 +02:00
2012-09-01 01:02:27 +02:00
2013-08-16 15:24:35 +02:00
2013-08-30 09:25:52 +02:00
2013-05-30 19:39:20 +02:00
2012-05-21 14:31:53 +01:00
2013-02-04 21:41:46 +01:00
2012-11-28 11:39:33 -08:00
2013-08-16 15:24:35 +02:00
2013-06-17 10:52:40 +02:00
2013-08-16 16:47:30 +02:00
2013-08-16 17:16:31 +02:00
2013-08-16 15:19:11 +02:00
2013-05-20 20:14:43 +02:00
2013-08-16 17:14:29 +02:00
2013-08-16 15:04:40 +02:00
2013-08-16 17:19:16 +02:00
2013-08-23 19:51:21 +02:00
2013-05-20 20:27:30 +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-03-25 23:57:20 +01:00
2013-08-29 14:40:30 +02:00
2013-05-20 20:27:30 +02:00
2012-11-28 11:39:33 -08:00
2013-08-16 17:16:31 +02:00
2013-08-16 15:24:35 +02:00
2013-05-30 19:20:22 +02:00
2013-03-27 16:05:16 +01:00
2013-08-16 15:24:35 +02:00
2013-05-30 19:20:21 +02:00
2013-05-18 11:55:19 +02:00
2013-08-16 15:24:35 +02:00
2011-08-22 09:12:55 +01:00
2012-12-16 18:55:20 -08:00
2013-03-27 16:05:18 +01: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-07-20 21:38:18 +02:00
2013-07-20 19:03:48 +02:00
2013-07-20 19:05:15 +02:00
2013-08-16 15:24:35 +02:00
2013-05-20 20:27:30 +02:00
2012-11-28 11:39:59 -08:00
2013-05-30 19:20:21 +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-17 07:47:33 +02:00
2013-04-12 00:31:18 +02:00
2013-08-16 15:26:31 +02:00
2013-09-04 14:22:47 +02:00
2013-08-30 09:25:52 +02:00
2013-08-30 09:25:52 +02:00