diff options
author | Haipeng YU <[email protected]> | 2012-11-14 15:40:01 +0100 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2012-12-13 12:04:46 +0200 |
commit | 484ca3a35b43a5127f0ef8e8c816f1b2ab6ce323 (patch) | |
tree | 7b0634d5b9fb7aa11c1f51bb1bb3e1e466e05c52 /lib/mpi/mpi-inline.h | |
parent | 5dbd693576726bd7d3228ee614060e0817305dde (diff) |
usb: gadget: u_serial: fix switch off blocked
When a device is switched off by software, gserial_cleanup will
be called, and switch off will be blocked in this function
because wake_up_interruptible() in gs_close() can not wake_up
the wait_event() in gserial_cleanup(), it should be changed to
wake_up() to match the wait_event().
Signed-off-by: Haipeng YU <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions