linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brad Midgley <bmidgley@xmission.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] snd-bt-sco.ko and ACPI suspend
Date: Fri, 10 Mar 2006 18:11:25 -0700	[thread overview]
Message-ID: <441223BD.8000903@xmission.com> (raw)
In-Reply-To: <4411710D.5000509@suse.de>

Stefan

doh. If we had been included then we wouldn't have to worry about the
older api for try_to_freeze. Can you give me a safer patch that will
work with 2.6.12 for example?

brad

> 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);
>  



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  parent reply	other threads:[~2006-03-11  1:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=441223BD.8000903@xmission.com \
    --to=bmidgley@xmission.com \
    --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).