linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpiolib: fix filtering out unwanted events
@ 2017-06-23 11:45 Bartosz Golaszewski
  2017-06-23 11:45 ` Bartosz Golaszewski
  2017-06-23 14:09 ` Bartosz Golaszewski
  0 siblings, 2 replies; 6+ messages in thread
From: Bartosz Golaszewski @ 2017-06-23 11:45 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

Hi Linux,

I've just fixed an issue in libgpiod which accidentally also led to
filtering out unwanted events in user space instead of gpiolib kernel
code. I then noticed that programs don't behave correctly and tracked
it down to an issue in gpiolib.c.

Please take a look at the fix. The bug has been there for some time and
it's quite late in the release cycle, but I believe it should still go
in v4.12 since currently the character device interface doesn't do what
it promises to.

Bartosz Golaszewski (1):
  gpiolib: fix filtering out unwanted events

 drivers/gpio/gpiolib.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-29 13:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-23 11:45 [PATCH] gpiolib: fix filtering out unwanted events Bartosz Golaszewski
2017-06-23 11:45 ` Bartosz Golaszewski
2017-06-29  9:33   ` Linus Walleij
2017-06-29 11:03     ` Bartosz Golaszewski
2017-06-29 13:16       ` Linus Walleij
2017-06-23 14:09 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).