lkml.org 
[lkml]   [2009]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] fix gpio-keys debouncing and timer sleep issues
Hi Jani,

On Fri, Jun 26, 2009 at 03:15:16PM +0300, Jani Nikula wrote:
> Alek, someone might depend on how debouncing worked before, so let's not
> break it. I, for one, am looking at using this in the future, and would
> want this to work as it was before.
>
> Why don't we fix this instead of debating? For simplicity, here's first
> a revert of the original patch and then a fix to the sleep issue.
> Unfortunately, I do not have the equipment to properly test this right
> now.
>

I intend to apply the both patches. It is unfortunate that we need to
use both a timer and a workqueue, I wonder what would it take to
implement something like reschedule_delayed_work() that would adjust
the delay in the same fashion that mod_timer() does?

--
Dmitry


\
 
 \ /
  Last update: 2009-06-29 08:03    [W:0.070 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site