Re: [PATCH 09/10] Input: Hold wake lock while event queue is not empty.

Arve Hjønnevåg
2009-02-13T00:52:22Z

On Thu, Feb 12, 2009 at 4:40 PM, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> On Thu, Feb 12, 2009 at 04:38:27PM -0800, Arve Hjønnevåg wrote:
>
>> I can make it a module param. I still need a default. I considering 0
>> (no wakelock), 5 seconds or infinite.
>
> I'm not clear on this. Why do you need a default? Just fix your
> userspace to reboot the system if the input consumer stops responding
> and won't restart. Your system is entirely fucked at that point anyway.

That was not the bug. Another component opened one of the input
devices, but did not read events from it.

--
Arve Hjønnevåg