lkml.org 
[lkml]   [2003]   [Jun]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 24 Jun 2003 19:10:42 -0700
SubjectRe: [PATCH] Provide refrigerator support for irda
FromJean Tourrilhes <>
On Wed, Jun 25, 2003 at 11:56:53AM +1000, Neil Brown wrote:
> 
> 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

	Wow ! I knew about microwave for 802.11b, but not about
refrigerator for IrDA.
	The man for sir_kthread is Martin Diehl. He is much more
intimate with kernel tasks than me, and he has other sir_dev updates
in the pipeline.
	Martin ?

	Thanks !

	Jean

>  ----------- 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();
>  	}
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:36    [from the cache]
©2003-2008