Glenn Miles 6f83dc6716 misc/led: LED state is set opposite of what is expected
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.

Fixes: ddb67f6402 ("hw/misc/led: Allow connecting from GPIO output")
Signed-off-by: Glenn Miles <milesg@linux.vnet.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Message-id: 20231024191945.4135036-1-milesg@linux.vnet.ibm.com
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2023-10-27 12:51:17 +01:00
..
2023-10-20 08:51:41 +02:00
2023-10-23 14:45:29 -07:00
2023-10-23 14:45:29 -07:00
2023-10-20 06:46:41 -07:00
2023-10-23 14:45:29 -07:00
2023-10-20 00:47:38 +02:00
2023-10-23 14:45:29 -07:00
2023-10-23 14:45:29 -07:00
2023-10-20 06:46:53 -07:00
2023-10-20 08:51:41 +02:00
2023-10-23 14:45:29 -07:00
2023-10-23 14:45:29 -07:00
2023-10-13 13:56:28 +09:00
2023-10-20 08:51:41 +02:00
2023-10-18 10:01:01 +02:00