gpiolib: fix unwatch ioctl()
authorKent Gibson <warthog618@gmail.com>
Mon, 24 Feb 2020 14:49:53 +0000 (14:49 +0000)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 2 Mar 2020 07:52:55 +0000 (08:52 +0100)
commit48543bd8e92880b1ca81b15cf392103dc82cd3e0
tree62450c1ddbc5a9e1b4bf26bd48f50dee07ba216a
parentdf2cd589766cf7c35a73690fc22d6a6be179cb57
gpiolib: fix unwatch ioctl()

Fix the field having a bit cleared by the unwatch ioctl().

Fixes: 51c1064e82e7 ("gpiolib: add new ioctl() for monitoring changes in line info")
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpiolib.c