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)
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>

No differences found