diff options
author | Oliver Neukum <oliver@neukum.org> | 2009-09-09 17:06:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 06:46:40 -0700 |
commit | e7389cc9a7ff7c6e760e741c81a751c834f7d145 (patch) | |
tree | c32bb55858fd792ac10b90a2a0539d163ad46136 /ipc | |
parent | b356b7c7696b289dda99022d71e3979c6134af52 (diff) | |
download | op-kernel-dev-e7389cc9a7ff7c6e760e741c81a751c834f7d145.zip op-kernel-dev-e7389cc9a7ff7c6e760e741c81a751c834f7d145.tar.gz |
USB: skel_read really sucks royally
The read code path of the skeleton driver really sucks
- skel_read works only for devices which always send data
- the timeout comes out of thin air
- it blocks signals for the duration of the timeout
- it disallows nonblocking IO by design
This patch fixes it by using a real urb, a completion and interruptible waits.
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions