Re: [PATCH v2 3/3] misc/pca9552: Only update output GPIOs if state changed

2023-10-24 Thread Miles Glenn
On Tue, 2023-10-24 at 10:13 +1030, Andrew Jeffery wrote: > On Fri, 2023-10-20 at 13:23 -0500, Glenn Miles wrote: > > The pca9552 code was updating output GPIO states whenever > > the pin state was updated even if the state did not change. > > This commit adds a check so that we only update the

Re: [PATCH v2 3/3] misc/pca9552: Only update output GPIOs if state changed

2023-10-23 Thread Andrew Jeffery
On Fri, 2023-10-20 at 13:23 -0500, Glenn Miles wrote: > The pca9552 code was updating output GPIO states whenever > the pin state was updated even if the state did not change. > This commit adds a check so that we only update the GPIO > output when the pin state actually changes. Given this is

[PATCH v2 3/3] misc/pca9552: Only update output GPIOs if state changed

2023-10-20 Thread Glenn Miles
The pca9552 code was updating output GPIO states whenever the pin state was updated even if the state did not change. This commit adds a check so that we only update the GPIO output when the pin state actually changes. Signed-off-by: Glenn Miles --- New commit in v2 hw/misc/pca9552.c | 25