commit | 5deeac99fe1146532eb7c64f9adb17d17628d751 | [log] [tgz] |
---|---|---|
author | Andrew Clayton <andrew@digital-domain.net> | Wed Feb 10 23:18:05 2010 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Feb 10 23:19:48 2010 -0800 |
tree | 06eb8fb3bc111caa5c0b6a3bfd47d5953d3094d1 | |
parent | 8f8be2439cd368cc6ba94888919ee90b5a26f0cb [diff] |
Input: rotary-encoder - set gpio direction for each requested gpio Even with the correct pin mux settings, you still need to explicitly set the gpio direction. Call gpio_direction_input() after each requested gpio. Signed-off-by: Andrew Clayton <andrew@digital-domain.net> Signed-off-by: Mark Somerville <mark@scottishclimbs.com> Tested-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>