usb: cdc-wdm: Fix deadlock between write and resume
authorOliver Neukum <oliver@neukum.org>
Sat, 27 Feb 2010 19:57:12 +0000 (20:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:24:17 +0000 (07:24 -0700)
commit338124c1f18c2c737656ac58735f040d90b23d8c
treeb763f5a797062130e481ffe4adcf6c32fdd4feb5
parentd93d16e9aa58887feadd999ea26b7b8139e98b56
usb: cdc-wdm: Fix deadlock between write and resume

The new runtime PM scheme allows resume() to have no locks.
This fixes the deadlock.

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