summaryrefslogtreecommitdiff
path: root/arch/arm/mach-iop33x/iq80332.c
diff options
context:
space:
mode:
authorDarius Augulis <augulis.darius@gmail.com>2008-10-15 10:38:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-10-30 15:56:35 +0100
commit5cac9d6558009d0fcdb7a0f38247ca578c8c685b (patch)
tree131c1105265bd3b8587c9578823b3e1347a55258 /arch/arm/mach-iop33x/iq80332.c
parenteadefeff9c5572d82c2f5d907a0bfb3ba55ce901 (diff)
[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 <augulis.darius@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-iop33x/iq80332.c')
0 files changed, 0 insertions, 0 deletions