Re: [PATCH v2 RESEND] misc/led: LED state is set opposite of what is expected

2023-10-27 Thread Philippe Mathieu-Daudé
On 27/10/23 13:51, Peter Maydell wrote: On Tue, 24 Oct 2023 at 20:20, Glenn Miles wrote: Testing of the LED state showed that when the LED polarity was set to GPIO_POLARITY_ACTIVE_LOW and a low logic value was set on the input GPIO of the LED, the LED was being turn off when it was expected to

Re: [PATCH v2 RESEND] misc/led: LED state is set opposite of what is expected

2023-10-27 Thread Peter Maydell
On Tue, 24 Oct 2023 at 20:20, Glenn Miles wrote: > > Testing of the LED state showed that when the LED polarity was > set to GPIO_POLARITY_ACTIVE_LOW and a low logic value was set on > the input GPIO of the LED, the LED was being turn off when it was > expected to be turned on. > > Signed-off-by:

Re: [PATCH v2 RESEND] misc/led: LED state is set opposite of what is expected

2023-10-25 Thread Peter Maydell
On Tue, 24 Oct 2023 at 20:20, Glenn Miles wrote: > > Testing of the LED state showed that when the LED polarity was > set to GPIO_POLARITY_ACTIVE_LOW and a low logic value was set on > the input GPIO of the LED, the LED was being turn off when it was > expected to be turned on. > > Signed-off-by:

[PATCH v2 RESEND] misc/led: LED state is set opposite of what is expected

2023-10-24 Thread Glenn Miles
Testing of the LED state showed that when the LED polarity was set to GPIO_POLARITY_ACTIVE_LOW and a low logic value was set on the input GPIO of the LED, the LED was being turn off when it was expected to be turned on. Signed-off-by: Glenn Miles --- Changes from v1: - Changed logic for read