linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Scheler <sscheler@suse.de>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] snd-bt-sco.ko and ACPI suspend
Date: Fri, 10 Mar 2006 13:29:01 +0100	[thread overview]
Message-ID: <4411710D.5000509@suse.de> (raw)


[-- 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 --]

             reply	other threads:[~2006-03-10 12:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-10 12:29 Stefan Scheler [this message]
2006-03-10 12:58 ` [Bluez-devel] snd-bt-sco.ko and ACPI suspend 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4411710D.5000509@suse.de \
    --to=sscheler@suse.de \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).