]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitebde7b062cd9e2ea968c93f23f73dd28c0a192d1
tree143d247e7d9c3e505961d769494bd267c14c5078
parent09c9feb94672bdb3ca6d424a292ffc26eff8ca0b
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