diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-07-03 12:12:03 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-01 15:07:35 +0300 |
commit | df1e76f28ffe87d1b065eecab2d0fbb89e6bdee5 (patch) | |
tree | 726b2e39ad615a59bbbf7b64d9e0a199a9faa518 /scripts/extract-module-sig.pl | |
parent | a589e211bd74715a63f507dade294ba618259ff7 (diff) | |
download | linux-df1e76f28ffe87d1b065eecab2d0fbb89e6bdee5.tar.xz |
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>
Diffstat (limited to 'scripts/extract-module-sig.pl')
0 files changed, 0 insertions, 0 deletions