diff options
author | Bjørn Mork <bjorn@mork.no> | 2012-02-10 09:44:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-10 20:28:18 +0100 |
commit | 88044202756925ad47c51c2f634a4f2c17afe068 (patch) | |
tree | 88b8fa746469f5f3161941fa4d35a0e0336b229c /drivers/usb/host/imx21-dbg.c | |
parent | Merge tag 'usb-3.3-rc3' into usb-next (diff) | |
download | linux-88044202756925ad47c51c2f634a4f2c17afe068.tar.xz linux-88044202756925ad47c51c2f634a4f2c17afe068.zip |
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 <bjorn@mork.no>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/imx21-dbg.c')
0 files changed, 0 insertions, 0 deletions