Re: [RFC/PATCH 1/4] gpiolib: introduce set_debounce method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux