From: Jiri Slaby Date: Mon, 21 Jun 2010 15:02:51 +0000 (+0200) Subject: USB: isp1362-hcd, fix double lock X-Git-Tag: v2.6.35-rc4~18^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c815577823951ff082fe1201fdd5efec5e6e8ea;p=pandora-kernel.git USB: isp1362-hcd, fix double lock Stanse found that isp1362_sw_reset tries to take a isp1362_hcd->lock, but it is already held in isp1362_hc_stop. Avoid that by introducing __isp1362_sw_reset which doesn't take the lock and call it from isp1362_hc_stop. isp1362_sw_reset is then as simple as lock -- __isp1362_sw_reset -- unlock. Signed-off-by: Jiri Slaby Cc: Lothar Wassmann Cc: Michael Hennerich Cc: Bryan Wu Cc: Mike Frysinger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed