commit | 703df3297fb1950b0aa53e656108eb936d3f21d9 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Mon May 26 19:23:42 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 27 15:04:09 2014 -0700 |
tree | 009c2cf915a37af41b63c3226886cf027b162e5f | |
parent | 183a45087d126d126e8dd1d9b2602fc129dff9ad [diff] |
USB: cdc-acm: fix open and suspend race We must not do the usb_autopm_put_interface() before submitting the read urbs or we might end up doing I/O to a suspended device. Fixes: 088c64f81284 ("USB: cdc-acm: re-write read processing") Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>