projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8442ae0
)
UEAGLE : be suspend friendly
author
matthieu castet
<castet.matthieu@free.fr>
Tue, 3 Oct 2006 19:46:33 +0000
(21:46 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 17 Oct 2006 21:46:31 +0000
(14:46 -0700)
this patch avoid that the kernel thread block the suspend process.
Some work is still need to recover after a resume.
Signed-off-by: Matthieu Castet <castet.matthieu@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/atm/ueagle-atm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/atm/ueagle-atm.c
b/drivers/usb/atm/ueagle-atm.c
index f5434b1cbb1e0bba726cdd8ff3303f42c0d73594..68b5d0dd4f9859dcbdc10637c3e5cb053e4d9a71 100644
(file)
--- a/
drivers/usb/atm/ueagle-atm.c
+++ b/
drivers/usb/atm/ueagle-atm.c
@@
-1173,6
+1173,9
@@
static int uea_kthread(void *data)
ret = uea_stat(sc);
if (ret != -EAGAIN)
msleep(1000);
+ if (try_to_freeze())
+ uea_err(INS_TO_USBDEV(sc), "suspend/resume not supported, "
+ "please unplug/replug your modem\n");
}
uea_leaves(INS_TO_USBDEV(sc));
return ret;