diff options
author | Johan Hovold <jhovold@gmail.com> | 2014-05-26 19:23:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 00:04:09 +0200 |
commit | 703df3297fb1950b0aa53e656108eb936d3f21d9 (patch) | |
tree | 009c2cf915a37af41b63c3226886cf027b162e5f /drivers/pinctrl/pinctrl-imx1-core.c | |
parent | USB: cdc-acm: fix potential urb leak and PM imbalance in write (diff) | |
download | linux-703df3297fb1950b0aa53e656108eb936d3f21d9.tar.xz linux-703df3297fb1950b0aa53e656108eb936d3f21d9.zip |
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-imx1-core.c')
0 files changed, 0 insertions, 0 deletions