]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation/gpio.txt: explain poll/select usage
authorBernhard Walle <walle@corscience.de>
Thu, 18 Nov 2010 20:27:33 +0000 (12:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Nov 2010 23:00:46 +0000 (15:00 -0800)
commitda0c5a3461905ace9158ae3d6de5a517c4df8bdd
tree143d247e7d9c3e505961d769494bd267c14c5078
parentf75890cf71da0847fe3baa1263ece2e3722ef0fd
Documentation/gpio.txt: explain poll/select usage

Add a bit more information how to use poll(2) on GPIO value files
correctly. For me it was not clear that I need to poll(2) for
POLLPRI|POLLERR or select(2) for exceptfds.

Signed-off-by: Bernhard Walle <walle@corscience.de>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/gpio.txt