From: Thomas Pugliese Date: Mon, 2 Dec 2013 21:39:44 +0000 (-0600) Subject: usb: wusbcore: do device lookup while holding the hc mutex X-Git-Tag: v3.13-rc4~47^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6161ae5f1f371e8ff52306d9a1893f5dec6f60a4;p=pandora-kernel.git usb: wusbcore: do device lookup while holding the hc mutex This patch modifies the device notification handler to not look up the wusb_dev object before it calls the lower-level handler routines since the wusbhc mutex is not held when calling those routines and the device could go away in the meantime. Instead, let the individual notification handlers get the device ptr if they need to after they have taken the mutex. Signed-off-by: Thomas Pugliese Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed