On Wed, Apr 13, 2022 at 01:34:51PM +0800, Billy Tsai wrote:
> 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.
>
> -Original Message-
> From: Billy Tsai
> Sent: Wednesday, April 13, 2022 1:35 PM
> To: Ryan Chen ; ChiaWei Wang
> ; BMC-SW ;
> and...@aj.id.au; Billy Tsai ;
> u-boot@lists.denx.de
> Subject: [PATCH] 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: Bi
3 matches
Mail list logo