projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c8df79
)
USB: usblp: fix system suspend for some systems
author
Oliver Neukum
<oliver@neukum.name>
Sat, 28 Oct 2006 16:07:25 +0000
(18:07 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 3 Nov 2006 19:57:18 +0000
(11:57 -0800)
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>
drivers/usb/class/usblp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/class/usblp.c
b/drivers/usb/class/usblp.c
index 16353b661a04e864f40896e0b5919d2be572625b..6303970e93c1b7fcc16678069c659e11bb59a414 100644
(file)
--- 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);