diff options
| author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:40:01 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 15:47:59 +0200 |
| commit | 2c5865299e1e1cd4269ae24cfb539d190050d327 (patch) | |
| tree | b838d13cb36668b8e262c8593b89dd8cdd8446ee /include/uapi/linux/poll.h | |
| parent | cf72576da32764d0acb6e15400d98a4a58678565 (diff) | |
USB: serial: quatech2: fix sleep-while-atomic in close
commit f09d1886a41e9063b43da493ef0e845ac8afd2fa upstream.
The write URB was being killed using the synchronous interface while
holding a spin lock in close().
Simply drop the lock and busy-flag update, something which would have
been taken care of by the completion handler if the URB was in flight.
Fixes: f7a33e608d9a ("USB: serial: add quatech2 usb to serial driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/uapi/linux/poll.h')
0 files changed, 0 insertions, 0 deletions
