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

2023-10-24 Thread Miles Glenn
On Tue, 2023-10-24 at 18:46 +0100, Peter Maydell wrote: > On Tue, 24 Oct 2023 at 18:40, 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

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

2023-10-24 Thread Peter Maydell
On Tue, 24 Oct 2023 at 18:40, 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 turned off when it was > expected to be turned on. It looks to me f