On Wed, Mar 31, 2010 at 04:50:59PM +0200, ext Felipe Balbi wrote:
On Wed, Mar 31, 2010 at 02:46:28PM +0100, Mark Brown wrote:
> +int gpio_set_debounce(unsigned gpio, int value)
> +{

What are the intended semantics of value here?

debounce time. I just used value because other functions also call it

oh yeah, in miliseconds.

value.

maybe we could call it debounce. And switch to unsigned. Calling gpio_set_debounce() with a 0 debounce time should disable it, btw.

--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to