linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] snd-bt-sco.ko and ACPI suspend
@ 2006-03-10 12:29 Stefan Scheler
  2006-03-10 12:58 ` David Woodhouse
  2006-03-11  1:11 ` Brad Midgley
  0 siblings, 2 replies; 6+ messages in thread
From: Stefan Scheler @ 2006-03-10 12:29 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 157 bytes --]

Hello,

currently snd-bt-sco.ko is breaking ACPI suspend. So can we please apply
a minor patch like the following to CVS and fix this? Thanks.

Stefan

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: fix_acpi_suspend_s3.diff --]
[-- Type: text/x-patch; name="fix_acpi_suspend_s3.diff", Size: 409 bytes --]

Signed-off-by: Stefan Scheler <sscheler@suse.de>

diff -ru btsco/kernel/btsco.c btsco/kernel/btsco.c
--- btsco/kernel/btsco.c	2006-03-10 12:45:25.000000000 +0100
+++ btsco/kernel/btsco.c	2006-03-10 12:52:15.000000000 +0100
@@ -891,6 +891,11 @@
 	up(&bt_sco->thread_sem);
 
 	do {
+
+#ifdef CONFIG_PM
+		try_to_freeze();
+#endif
+
 		if (signal_pending(current))
 			flush_signals(current);
 

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2006-03-11 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-10 12:29 [Bluez-devel] snd-bt-sco.ko and ACPI suspend Stefan Scheler
2006-03-10 12:58 ` David Woodhouse
2006-03-11  0:53   ` Brad Midgley
2006-03-11  1:11 ` Brad Midgley
2006-03-11 11:47   ` Stefan Scheler
2006-03-11 15:23     ` Brad Midgley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).