]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: gpio: legacy: Don't use POLLERR for poll(2)
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 15 Feb 2019 08:17:36 +0000 (09:17 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Feb 2019 09:53:52 +0000 (10:53 +0100)
commit82d559838775b507efc58c386c29cbc114ea5294
treedc95e52cb2329c95d96a8eaefdbb34751076234d
parente10652c410fa41d127ab923a470ac1823f63e201
Documentation: gpio: legacy: Don't use POLLERR for poll(2)

According to the manpage of poll(2) and also looking at the respective
syscall providing POLLERR in .events is a no-op. So don't recommend
using it.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-api/gpio/legacy.rst