usb: cdc-wdm:Fix loss of data due to autosuspend
authorOliver Neukum <oliver@neukum.org>
Sat, 27 Feb 2010 19:56:22 +0000 (20:56 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:24:16 +0000 (07:24 -0700)
commit62e6685470fb04fb7688ecef96c39160498721d5
tree2350c3c979dad7cbc73a7edbc22e9bfef188a867
parentbeb1d35f1690fe27694472a010a8e4a9ae11cc50
usb: cdc-wdm:Fix loss of data due to autosuspend

The guarding flag must be set and tested under spinlock
and cleared before the URBs are resubmitted in resume.

Signed-off-by: Oliver Neukum <neukum@b1-systems.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-wdm.c