https://github.com/torvalds/linux
Revision 5cac9d6558009d0fcdb7a0f38247ca578c8c685b authored by Darius Augulis on 15 October 2008, 08:38:30 UTC, committed by Sascha Hauer on 30 October 2008, 14:56:35 UTC
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>
1 parent eadefef
History
Tip revision: 5cac9d6558009d0fcdb7a0f38247ca578c8c685b authored by Darius Augulis on 15 October 2008, 08:38:30 UTC
[ARM] MXC: Fix mxc_gpio_get(), which must read PSR register instead DR.
Tip revision: 5cac9d6
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.0 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 102.0 KB
Makefile -rw-r--r-- 55.5 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top