From: Oliver Neukum Date: Sat, 28 Oct 2006 16:07:25 +0000 (+0200) Subject: USB: usblp: fix system suspend for some systems X-Git-Tag: v2.6.19-rc5~27^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5a69ebe1e90d9e8d43131f08d344751cf42254c5;p=linux-2.6-omap-h63xx.git USB: usblp: fix system suspend for some systems this has been confirmed to fix suspend problems with usblp. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index 16353b661a0..6303970e93c 100644 --- a/drivers/usb/class/usblp.c +++ b/drivers/usb/class/usblp.c @@ -1203,8 +1203,6 @@ static int usblp_suspend (struct usb_interface *intf, pm_message_t message) down (&usblp->sem); /* we take no more IO */ usblp->sleeping = 1; - /* we wait for anything printing */ - wait_event (usblp->wait, usblp->wcomplete || !usblp->present); usblp_unlink_urbs(usblp); up (&usblp->sem); mutex_unlock (&usblp_mutex);