aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/u_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/u_serial.c')
-rw-r--r--drivers/usb/gadget/u_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/u_serial.c b/drivers/usb/gadget/u_serial.c
index ca4fc3d3e7ff..46b1cc773ab8 100644
--- a/drivers/usb/gadget/u_serial.c
+++ b/drivers/usb/gadget/u_serial.c
@@ -884,7 +884,7 @@ static void gs_close(struct tty_struct *tty, struct file *file)
884 pr_debug("gs_close: ttyGS%d (%p,%p) done!\n", 884 pr_debug("gs_close: ttyGS%d (%p,%p) done!\n",
885 port->port_num, tty, file); 885 port->port_num, tty, file);
886 886
887 wake_up_interruptible(&port->port.close_wait); 887 wake_up(&port->port.close_wait);
888exit: 888exit:
889 spin_unlock_irq(&port->port_lock); 889 spin_unlock_irq(&port->port_lock);
890} 890}