mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Provide refrigerator support for irda
@ 2003-06-25  1:56 Neil Brown
  2003-06-25  2:10 ` Jean Tourrilhes
  0 siblings, 1 reply; 6+ messages in thread
From: Neil Brown @ 2003-06-25  1:56 UTC (permalink / raw)
  To: Jean Tourrilhes; +Cc: linux-kernel


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

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

end of thread, other threads:[~2003-06-26 18:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-25  1:56 [PATCH] Provide refrigerator support for irda Neil Brown
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

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®