]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] HID read busywait fix
authorMicon, David <DMicon@pelco.com>
Sat, 20 May 2006 21:59:59 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 21 May 2006 19:59:17 +0000 (12:59 -0700)
commitad5acb43e5e5dc72a8d629235b6181a9f6e389f0
tree4863bac913553850e33a0cfc8f8dabd598214bf7
parent436b1243cf6b5e14509856e090b5c53e03f8acd9
[PATCH] HID read busywait fix

Make a read of a HID device block until data is available.  Without it, the
read goes into a busy-wait loop until data is available.

Cc: Greg KH <greg@kroah.com>
Acked-by: Vojtech Pavlik <vojtech@suse.cz>
Cc: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/input/hiddev.c