From: Jiri Slaby Date: Sun, 23 Nov 2008 11:03:20 +0000 (+0100) Subject: HID: remove setup mutex, fix possible deadlock X-Git-Tag: v2.6.28-rc7~29^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fde5be353e872fe6088d2b1951e56cdfda2042ff;p=pandora-kernel.git HID: remove setup mutex, fix possible deadlock It causes recursive locking warning and is unneeded after introduction of STARTED flag. * Resume vs. stop is effectively solved by DISCONNECT flag. * No problem in suspend vs. start -- urb is submitted even after open which is possible after connect which is called after start. * Resume vs. start solved by STARTED flag. * Suspend vs. stop -- no problem in killing urb and timer twice. Reported-by: Alan Stern Signed-off-by: Jiri Slaby Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed