Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 24 Jun 2003 19:10:42 -0700 | Subject | Re: [PATCH] Provide refrigerator support for irda | From | Jean 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/
| ![\](/images/icornerr.gif) |