Re: [PATCH V1] input: keyboard: gpio: Support for interrupt only key

From: Dmitry Torokhov
Date: Wed Mar 14 2012 - 12:00:21 EST


Hi Laxman,

On Wed, Mar 14, 2012 at 02:22:03PM +0530, Laxman Dewangan wrote:
> Some of key in system generates interrupt only when it
> pressed like power-on key or onkey. These keys do not
> actually mapped as gpio in system.
> Supporting the key pressed event on such keys which are
> not actually gpio keys but generates interrupt only.
>
> Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
> ---
> When I pushed the new driver for interrupt key, the suggestion came
> to include this functionality in the gpio-key driver. I added require
> changed in gpio-keys.c to support interrupt key only.
>

This looks much much better than a whole new driver. Let me look it over
in more detail and get back to you.

Thanks!

--
Dmitry
--
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/