Bartosz Golaszewski
df1e76f28f
gpiolib: skip unwanted events, don't convert them to opposite edge
...
The previous fix for filtering out of unwatched events was not entirely
correct. Instead of skipping the events we don't want, they are now
interpreted as events with opposing edge.
In order to fix it: always read the GPIO line value on interrupt and
only emit the event if it corresponds with the event type we requested.
Cc: stable@vger.kernel.org
Fixes: ad537b822577 ("gpiolib: fix filtering out unwanted events")
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-08-01 14:07:35 +02:00
..
2017-03-14 10:51:28 +01:00
2017-05-10 19:13:03 -07:00
2017-05-10 19:13:03 -07:00
2017-05-10 19:13:03 -07:00
2016-11-25 15:12:27 +01:00
2017-05-29 13:36:45 +02:00
2017-03-06 14:35:21 +01:00
2017-05-04 12:05:32 -07:00
2017-05-29 11:09:01 +02:00
2017-05-22 10:37:07 +02:00
2017-03-16 21:52:08 +01:00
2016-11-24 16:19:02 +01:00
2017-03-16 21:52:07 +01:00
2017-04-28 09:47:46 +02:00
2017-05-23 10:02:01 +02:00
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2017-05-29 10:37:40 +02:00
2017-01-26 15:27:37 +01:00
2017-06-21 09:36:46 +02:00
2017-01-26 15:27:37 +01:00
2017-03-16 21:52:08 +01:00
2017-08-01 13:43:55 +02:00
2017-04-28 10:09:16 +02:00
2017-03-22 09:40:55 +01:00
2017-04-20 12:02:32 +01:00
2016-11-13 11:50:22 +01:00
2017-05-22 17:18:19 +02:00
2017-01-26 10:00:20 +01:00
2016-09-12 15:28:18 +02:00
2016-09-13 10:35:56 +02:00
2016-09-23 15:10:00 +02:00
2017-01-26 15:27:37 +01:00
2017-07-31 15:26:57 +02:00
2016-09-13 10:35:56 +02:00
2016-09-12 14:23:37 +02:00
2016-08-10 15:40:44 +02:00
2017-05-23 11:33:59 +02:00
2017-01-26 15:27:37 +01:00
2016-11-22 10:16:17 +01:00
2017-01-26 15:27:37 +01:00
2017-06-16 11:13:11 +02:00
2017-05-29 13:34:22 +02:00
2016-12-30 09:18:10 +01:00
2017-03-23 09:49:06 +01:00
2017-06-20 09:19:12 +02:00
2016-10-24 02:20:40 +02:00
2016-08-23 11:22:09 +02:00
2017-07-07 12:40:27 -07:00
2017-08-01 10:37:06 +02:00
2017-03-15 11:16:37 +01:00
2017-04-28 09:50:22 +02:00
2016-09-15 13:57:43 +02:00
2017-04-24 18:27:55 +02:00
2017-05-23 11:35:02 +02:00
2017-05-29 13:33:01 +02:00
2017-03-28 11:13:59 +02:00
2016-09-13 10:35:56 +02:00
2017-03-16 21:52:09 +01:00
2017-03-15 11:16:35 +01:00
2017-06-29 14:22:38 +02:00
2017-03-24 14:05:00 +01:00
2017-03-24 14:04:37 +01:00
2016-09-13 10:35:56 +02:00
2017-03-15 11:16:36 +01:00
2016-08-23 11:23:41 +02:00
2017-05-29 13:33:42 +02:00
2016-12-13 07:54:57 -08:00
2016-12-30 09:18:10 +01:00
2017-01-26 15:27:37 +01:00
2017-01-26 15:27:37 +01:00
2016-09-13 10:35:56 +02:00
2016-09-13 10:35:56 +02:00
2017-01-26 15:27:37 +01:00
2016-09-13 10:35:56 +02:00
2016-10-21 14:55:07 +02:00
2016-09-13 10:35:56 +02:00
2017-03-15 11:16:32 +01:00
2016-11-24 16:19:02 +01:00
2017-01-26 15:27:37 +01:00
2017-07-07 13:30:05 -07:00
2017-03-23 11:45:55 +00:00
2016-09-13 10:35:56 +02:00
2017-01-26 15:27:37 +01:00
2017-05-10 19:13:03 -07:00
2017-03-06 14:35:22 +01:00
2017-03-16 21:52:10 +01:00
2017-05-22 17:48:41 +02:00
2017-03-16 21:52:10 +01:00
2017-06-16 11:13:12 +02:00
2017-07-07 12:40:27 -07:00
2016-10-25 20:23:19 +02:00
2017-06-16 11:13:10 +02:00
2017-06-09 10:41:00 +02:00
2017-08-01 14:07:35 +02:00
2017-05-29 11:21:44 +02:00
2017-08-01 10:06:00 +02:00
2017-07-07 12:40:27 -07:00