lkml.org 
[lkml]   [2006]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 1/3] UEAGLE : be suspend friendly
Hi,


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>


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>
Index: linux/drivers/usb/atm/ueagle-atm.c
===================================================================
--- linux.orig/drivers/usb/atm/ueagle-atm.c 2006-09-22 21:39:56.000000000 +0200
+++ linux/drivers/usb/atm/ueagle-atm.c 2006-09-22 21:40:45.000000000 +0200
@@ -1177,6 +1177,9 @@
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;
\
 
 \ /
  Last update: 2006-10-03 21:49    [from the cache]
©2003-2011 Jasper Spaans