Commit 5a69ebe1 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

USB: usblp: fix system suspend for some systems

this has been confirmed to fix suspend problems with usblp.
Signed-off-by: default avatarOliver Neukum <oliver@neukum.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6c8df79f
...@@ -1203,8 +1203,6 @@ static int usblp_suspend (struct usb_interface *intf, pm_message_t message) ...@@ -1203,8 +1203,6 @@ static int usblp_suspend (struct usb_interface *intf, pm_message_t message)
down (&usblp->sem); down (&usblp->sem);
/* we take no more IO */ /* we take no more IO */
usblp->sleeping = 1; usblp->sleeping = 1;
/* we wait for anything printing */
wait_event (usblp->wait, usblp->wcomplete || !usblp->present);
usblp_unlink_urbs(usblp); usblp_unlink_urbs(usblp);
up (&usblp->sem); up (&usblp->sem);
mutex_unlock (&usblp_mutex); mutex_unlock (&usblp_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment