From: Bjørn Mork Date: Fri, 10 Feb 2012 08:44:08 +0000 (+0100) Subject: usb: cdc-wdm: make reset work with blocking IO X-Git-Tag: v3.4-rc1~184^2~22^2~121^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88044202756925ad47c51c2f634a4f2c17afe068;p=pandora-kernel.git usb: cdc-wdm: make reset work with blocking IO Add a flag to tell wdm_read/wdm_write that a reset is in progress, and wake any blocking read/write before taking the mutexes. This allows the device to reset without waiting for blocking IO to finish. Signed-off-by: Bjørn Mork Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed