Glenn Miles
7b99fb30b3
misc/pca9552: Fix inverted input status
...
The pca9552 INPUT0 and INPUT1 registers are supposed to
hold the logical values of the LED pins. A logical 0
should be seen in the INPUT0/1 registers for a pin when
its corresponding LSn bits are set to 0, which is also
the state needed for turning on an LED in a typical
usage scenario. Existing code was doing the opposite
and setting INPUT0/1 bit to a 1 when the LSn bit was
set to 0, so this commit fixes that.
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au >
Signed-off-by: Glenn Miles <milesg@linux.vnet.ibm.com >
Signed-off-by: Nicholas Piggin <npiggin@gmail.com >
2024-02-23 23:24:42 +10:00
..
2024-02-15 16:58:46 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-02-14 09:11:27 +01:00
2021-02-11 11:50:14 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2021-03-08 11:54:16 +00:00
2023-12-30 07:38:06 +11:00
2021-09-01 11:08:18 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2022-06-30 09:21:14 +02:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-01-18 11:14:34 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2022-10-22 23:15:40 +02:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-01-08 10:45:43 -05:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2022-08-08 23:43:11 +02:00
2023-10-12 14:11:44 +02:00
2023-12-30 07:38:06 +11:00
2024-01-08 10:45:43 -05:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-01-08 10:45:43 -05:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2021-05-02 17:24:50 +02:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2021-03-08 17:20:01 +00:00
2024-01-05 16:20:15 +01:00
2024-01-15 17:12:22 +00:00
2024-02-11 13:20:23 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2021-05-02 17:24:50 +02:00
2023-01-06 10:42:55 +10:00
2023-01-06 10:42:55 +10:00
2024-01-26 11:30:49 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-02-15 15:53:12 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-02-15 14:32:38 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2024-02-23 23:24:42 +10:00
2023-10-25 17:35:15 +02:00
2022-06-09 19:32:49 -04:00
2023-12-30 07:38:06 +11:00
2022-03-06 05:08:23 -05:00
2023-01-12 17:15:09 +00:00
2023-07-10 22:29:14 +10:00
2021-05-02 17:24:50 +02:00
2023-10-12 12:34:30 +10:00
2023-01-26 13:25:07 +01:00
2023-12-30 07:38:06 +11:00
2023-09-21 11:31:16 +03:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-01-15 17:12:22 +00:00
2024-01-15 17:12:22 +00:00
2024-01-15 17:12:22 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-09-08 16:41:34 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-01-26 11:30:49 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00