commit | 6a2e391190b17f4fb895bd2d5e8b08c7c8f897a2 | [log] [tgz] |
---|---|---|
author | Herbert Valerio Riedel <hvr@gnu.org> | Wed Nov 21 14:42:33 2007 -0500 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Nov 21 14:42:33 2007 -0500 |
tree | ee5a7af733b8eef5b877614ac02886632208eda1 | |
parent | 8bf4215e8a7f7416d7258af211488aabf65863c3 [diff] |
Input: gpio-keys - request and configure GPIOs Currently, gpio_keys.c assumes the GPIOs to be already properly configured; this patch changes gpio-keys to perform explicit calls to gpio_request() and gpio_configure_input(). This matches the behaviour of leds-gpio. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>