Skip to content
Commit fe2f2842 authored by Billy Tsai's avatar Billy Tsai Committed by Tom Rini
Browse files

gpio: aspeed: Fix incorrect offset of read back register.



The offset of the current read back register is the value of the gpio pin,
not the value written for the gpio output.
This patch fix it to avoid the other gpio output value controlled by the
same register being set incorrectly.

Fixes: 7ad889b0 ("gpio: Add Aspeed GPIO driver")
Signed-off-by: default avatarBilly Tsai <billy_tsai@aspeedtech.com>
parent 0b93b7fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment