Re: [PATCH] misc/pca9552: Fix LED status register indexing in pca955x_get_led()

2021-07-23 Thread Cédric Le Goater
On 7/23/21 6:36 AM, Andrew Jeffery wrote: > There was a bit of a thinko in the state calculation where every odd pin > in was reported in e.g. "pwm0" mode rather than "off". This was the > result of an incorrect bit shift for the 2-bit field representing each > LED state. > > Fixes: a90d8f84674d

[PATCH] misc/pca9552: Fix LED status register indexing in pca955x_get_led()

2021-07-22 Thread Andrew Jeffery
There was a bit of a thinko in the state calculation where every odd pin in was reported in e.g. "pwm0" mode rather than "off". This was the result of an incorrect bit shift for the 2-bit field representing each LED state. Fixes: a90d8f84674d ("misc/pca9552: Add qom set and get") Signed-off-by: