From: Oliver Neukum Date: Wed, 9 Sep 2009 15:06:53 +0000 (+0200) Subject: USB: skel_read really sucks royally X-Git-Tag: v2.6.32-rc1~174^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7389cc9a7ff7c6e760e741c81a751c834f7d145;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed