diff options
author | Oliver Neukum <oliver@neukum.name> | 2006-10-28 12:07:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-11-03 14:57:18 -0500 |
commit | 5a69ebe1e90d9e8d43131f08d344751cf42254c5 (patch) | |
tree | 6c1a77b3f6855ad8e1151b7a2b4b42fef59a510a /drivers | |
parent | 6c8df79f8c0f8d861ea25e6e104a29398d8398f4 (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')
-rw-r--r-- | drivers/usb/class/usblp.c | 2 |
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) | |||
1203 | down (&usblp->sem); | 1203 | down (&usblp->sem); |
1204 | /* we take no more IO */ | 1204 | /* we take no more IO */ |
1205 | usblp->sleeping = 1; | 1205 | usblp->sleeping = 1; |
1206 | /* we wait for anything printing */ | ||
1207 | wait_event (usblp->wait, usblp->wcomplete || !usblp->present); | ||
1208 | usblp_unlink_urbs(usblp); | 1206 | usblp_unlink_urbs(usblp); |
1209 | up (&usblp->sem); | 1207 | up (&usblp->sem); |
1210 | mutex_unlock (&usblp_mutex); | 1208 | mutex_unlock (&usblp_mutex); |