summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-07-03 11:12:03 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-08-01 14:07:35 +0200
commitdf1e76f28ffe87d1b065eecab2d0fbb89e6bdee5 (patch)
tree726b2e39ad615a59bbbf7b64d9e0a199a9faa518 /drivers/phy
parenta589e211bd74715a63f507dade294ba618259ff7 (diff)
downloadlinux-stable-df1e76f28ffe87d1b065eecab2d0fbb89e6bdee5.tar.gz
linux-stable-df1e76f28ffe87d1b065eecab2d0fbb89e6bdee5.tar.bz2
linux-stable-df1e76f28ffe87d1b065eecab2d0fbb89e6bdee5.zip
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 'drivers/phy')
0 files changed, 0 insertions, 0 deletions