From: Haipeng YU Date: Wed, 14 Nov 2012 14:40:01 +0000 (+0100) Subject: usb: gadget: u_serial: fix switch off blocked X-Git-Tag: v3.8-rc4~25^2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=484ca3a35b43a5127f0ef8e8c816f1b2ab6ce323;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed