commit | 053bc40f9a2cfb4e3046df8304140e4e36f7eef0 | [log] [tgz] |
---|---|---|
author | Billy Tsai <billy_tsai@aspeedtech.com> | Wed Apr 13 13:34:51 2022 +0800 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 19 14:51:11 2022 -0400 |
tree | f978403e90cb9db6e94a7e21207cf3a5d409b2d7 | |
parent | df8be5a5a8377256ac3100bb5a7cbb7e0b7fadf2 [diff] |
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: 7ad889b0f37a ("gpio: Add Aspeed GPIO driver") Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>