Skip to content
Commit 6a2e3911 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel Committed by Dmitry Torokhov
Browse files

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: default avatarHerbert Valerio Riedel <hvr@gnu.org>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 8bf4215e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment