[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100521143432.5de6ebec@lxorguk.ukuu.org.uk>
Date: Fri, 21 May 2010 14:34:32 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: David Brownell <david-b@...bell.net>
Cc: felipe.balbi@...ia.com,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Linux OMAP Mailing List <linux-omap@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Tony Lindgren <tony@...mide.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 1/5] gpiolib: introduce set_debounce method
> One of the earlier examples of why to want debouncing (in the
> original discussion, not this one) was for buttons (one signal
> per button press) and the hardware designers don't necessarily
> hook buttons up to only GPIOs with hardware debounce. So code
> to kick in debounce there needed to be sensitive to whether or
> not the capability was available ... and moreover, whether the
> debounce scale was adequate to compensate the contact chatter.
> When not, then software debounce was inescapable.
And someone who needs it can contribute it. The proposed patch causes no
problems in this area.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists