Re: [PATCH] gpio: export 'debounce' attribute if supported by thegpio chip

From: Alan Cox
Date: Fri Dec 07 2012 - 11:43:44 EST


> I could imagine declaring the activity request buttons to be "input", but for
> presence detects it is a bit far fetched and would add too much complexity.

Android tries to address this with its switch class driver, but I'm not
sure its actually got anything over making them input devices.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/