From: Darius Augulis Date: Wed, 15 Oct 2008 08:38:30 +0000 (+0200) Subject: [ARM] MXC: Fix mxc_gpio_get(), which must read PSR register instead DR. X-Git-Tag: v2.6.28-rc3~33^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cac9d6558009d0fcdb7a0f38247ca578c8c685b;p=pandora-kernel.git [ARM] MXC: Fix mxc_gpio_get(), which must read PSR register instead DR. The Data register holds the value we have written to a gpio. To get the input value we must read the Pad Status Register MX3 (or Sample Status register in MX1/2 terms) Signed-off-by: Darius Augulis Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed