[PATCH 1/6] staging: comedi: don't poll_wait on same subdevice twice

2015-10-09 Thread Ian Abbott
Comedi subdevices that support asynchronous acquisition commands have a wait queue head used for blocking reads or writes and for the poll file operation. The comedi device may have several subdevices that support "read" and/or "write" commands, but each open file object has at most one "read"

[PATCH 1/6] staging: comedi: don't poll_wait on same subdevice twice

2015-10-09 Thread Ian Abbott
Comedi subdevices that support asynchronous acquisition commands have a wait queue head used for blocking reads or writes and for the poll file operation. The comedi device may have several subdevices that support "read" and/or "write" commands, but each open file object has at most one "read"