public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] UEAGLE : be suspend friendly
@ 2006-10-03 19:46 matthieu castet
  2006-10-04 22:05 ` Pavel Machek
  0 siblings, 1 reply; 8+ messages in thread
From: matthieu castet @ 2006-10-03 19:46 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel, usbatm, linux-usb-devel, ueagle

[-- Attachment #1: Type: text/plain, Size: 185 bytes --]

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>



[-- Attachment #2: eagle-suspend --]
[-- Type: text/plain, Size: 711 bytes --]

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;

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-10-06 18:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-03 19:46 [PATCH 1/3] UEAGLE : be suspend friendly matthieu castet
2006-10-04 22:05 ` Pavel Machek
2006-10-05  7:17   ` Duncan Sands
2006-10-05 16:22     ` [linux-usb-devel] " Alan Stern
2006-10-05 18:14       ` Pavel Machek
2006-10-05 20:29         ` Alan Stern
2006-10-06 15:10           ` Duncan Sands
2006-10-06 18:20             ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox