summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.name>2006-10-28 18:07:25 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-11-03 11:57:18 -0800
commit5a69ebe1e90d9e8d43131f08d344751cf42254c5 (patch)
tree6c1a77b3f6855ad8e1151b7a2b4b42fef59a510a /drivers/usb
parent6c8df79f8c0f8d861ea25e6e104a29398d8398f4 (diff)
USB: usblp: fix system suspend for some systems
this has been confirmed to fix suspend problems with usblp. Signed-off-by: Oliver Neukum <oliver@neukum.name> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/class/usblp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c
index 16353b661a04..6303970e93c1 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);