Skip to content
Commit 5cac9d65 authored by Darius Augulis's avatar Darius Augulis Committed by Sascha Hauer
Browse files

[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: default avatarDarius Augulis <augulis.darius@gmail.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent eadefeff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment