Re: [PATCH] gpio: aspeed: Fix incorrect offset of read back register.

2022-04-20 Thread Tom Rini
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. >

RE: [PATCH] gpio: aspeed: Fix incorrect offset of read back register.

2022-04-13 Thread Ryan Chen
> -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. >

[PATCH] gpio: aspeed: Fix incorrect offset of read back register.

2022-04-13 Thread Billy Tsai
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