Input: rotary-encoder - set gpio direction for each requested gpio
authorAndrew Clayton <andrew@digital-domain.net>
Thu, 11 Feb 2010 07:18:05 +0000 (23:18 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Feb 2010 07:19:48 +0000 (23:19 -0800)
commit5deeac99fe1146532eb7c64f9adb17d17628d751
tree06eb8fb3bc111caa5c0b6a3bfd47d5953d3094d1
parent8f8be2439cd368cc6ba94888919ee90b5a26f0cb
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>
drivers/input/misc/rotary_encoder.c