[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100520194509.GB10739@sirena.org.uk>
Date: Thu, 20 May 2010 20:45:10 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: felipe.balbi@...ia.com
Cc: Linux OMAP Mailing List <linux-omap@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Tony Lindgren <tony@...mide.com>,
David Brownell <david-b@...bell.net>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 1/5] gpiolib: introduce set_debounce method
On Mon, May 17, 2010 at 01:02:30PM +0300, felipe.balbi@...ia.com wrote:
> From: Felipe Balbi <felipe.balbi@...ia.com>
>
> Few architectures, like OMAP, allow you to set
> a debouncing time for the gpio before generating
> the IRQ. Teach gpiolib about that.
>
> Signed-off-by: Felipe Balbi <felipe.balbi@...ia.com>
Reviewed-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
This would be generally useful for embedded systems, especially where
the interrupt concerned is a wake source. It allows drivers to avoid
spurious interrupts from noisy sources so if the hardware supports it
the driver can avoid having to explicitly wait for the signal to become
stable and software has to cope with fewer events. We've lived without
it for quite some time, though.
--
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