mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Neil Brown <neilb@cse.unsw.edu.au>
To: Jean Tourrilhes <jt@hpl.hp.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Provide refrigerator support for irda
Date: Wed, 25 Jun 2003 11:56:53 +1000	[thread overview]
Message-ID: <16121.357.838418.87410@gargle.gargle.HOWL> (raw)


Hi Jean.
 2.5.73/MAINTAINERS: IRDA SUBSYSTEM
doesn't have an "M:" field, so I'm guessing that the P: field is close
enough.

Without this patch, kIrDAd prevents my notebook from entering suspend
mode.

NeilBrown


 ----------- Diffstat output ------------
 ./drivers/net/irda/sir_kthread.c |    3 +++
 1 files changed, 3 insertions(+)

diff ./drivers/net/irda/sir_kthread.c~current~ ./drivers/net/irda/sir_kthread.c
--- ./drivers/net/irda/sir_kthread.c~current~	2003-06-25 11:50:36.000000000 +1000
+++ ./drivers/net/irda/sir_kthread.c	2003-06-25 11:51:02.000000000 +1000
@@ -166,6 +166,9 @@ static int irda_thread(void *startup)
 			set_task_state(current, TASK_RUNNING);
 		remove_wait_queue(&irda_rq_queue.kick, &wait);
 
+		if (current->flags & PF_FREEZE)
+			refrigerator(PF_IOTHREAD);
+
 		run_irda_queue();
 	}
 

             reply	other threads:[~2003-06-25  1:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-25  1:56 Neil Brown [this message]
2003-06-25  2:10 ` Jean Tourrilhes
2003-06-25  6:18   ` Martin Diehl
2003-06-25 18:45     ` Pavel Machek
2003-06-26 13:27       ` Martin Diehl
2003-06-26 18:44         ` Pavel Machek

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=16121.357.838418.87410@gargle.gargle.HOWL \
    --to=neilb@cse.unsw.edu.au \
    --cc=jt@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®