Re: [RFC][PATCH] Add support for hook switch on ams-delta

Mark Brown
2010-03-29T13:46:50Z

On Tue, Jun 02, 2009 at 11:04:33PM +0100, Jonathan McDowell wrote:

> * The commented out code to include the GPIO status in sysfs shouldn't
> be included. Does the input layer not provide a way to obtain the
> state of the switch?

It does, but only via an ioctl().