]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: fixup line flags for userspace ABI
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Feb 2016 12:44:53 +0000 (13:44 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Feb 2016 12:44:53 +0000 (13:44 +0100)
commit6358f30cc1d32464d960840fe6d5d7ec1719a0d4
treef6efe1eafa20feff5ec79fc15cf2ce295022e778
parent125234e66a3c593f4a040071a739ff05406f339d
gpio: fixup line flags for userspace ABI

This fixes the wrongly indicated lines in the userspace
ABI: test for the right BITS, do not treat bit numbers as
bitmasks.

Reported-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c