From: Andrew Clayton Date: Thu, 11 Feb 2010 07:18:05 +0000 (-0800) Subject: Input: rotary-encoder - set gpio direction for each requested gpio X-Git-Tag: v2.6.34-rc1~236^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5deeac99fe1146532eb7c64f9adb17d17628d751;p=pandora-kernel.git 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 Signed-off-by: Mark Somerville Tested-by: H Hartley Sweeten Acked-by: Daniel Mack Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed