diff options
| author | Johan Hovold <jhovold@gmail.com> | 2014-05-26 19:23:42 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-07-04 11:51:10 +0200 |
| commit | d50fd56a9a05493ea25b8f8c34c7212dfb47a82e (patch) | |
| tree | cb234fe8d284617b6fc2df9a3aa8a70a315435d9 /include/linux/input-polldev.h | |
| parent | 7519c7d9018ebb0ffa5cd172527b05791ab15cc8 (diff) | |
USB: cdc-acm: fix open and suspend race
commit 703df3297fb1950b0aa53e656108eb936d3f21d9 upstream.
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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/input-polldev.h')
0 files changed, 0 insertions, 0 deletions
