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-01-04 19:55:20 +00:00
2024-02-20 20:34:21 +03:00
2023-12-29 11:17:30 +11:00
2024-02-02 16:23:47 +00:00
2024-02-22 12:47:40 +01:00
2024-01-05 16:20:15 +01:00
2023-11-28 14:27:12 +01:00
2024-02-15 15:53:12 +01:00
2024-02-15 16:58:46 +01:00
2024-02-22 12:47:40 +01:00
2024-01-26 11:30:49 +00:00
2024-02-02 16:23:47 +00:00
2024-02-14 06:09:33 -05:00
2024-02-14 06:17:44 -05:00
2024-02-15 16:58:46 +01:00
2024-02-01 08:33:18 +01:00
2023-12-29 11:17:30 +11:00
2024-02-21 08:16:58 +03:00
2024-02-04 17:42:03 +01:00
2024-02-22 12:47:40 +01:00
2024-02-22 15:44:29 +00:00
2024-02-22 12:47:40 +01:00
2024-02-22 12:47:35 +01:00
2024-02-15 16:58:46 +01:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-02-22 15:44:29 +00:00
2024-02-02 16:23:47 +00:00
2024-02-02 16:23:47 +00:00
2024-02-14 06:09:33 -05:00
2024-02-02 16:23:47 +00:00
2024-02-22 15:44:29 +00:00
2024-02-23 23:24:42 +10:00
2024-02-11 13:20:23 +01:00
2023-11-23 14:10:04 +00:00
2024-02-22 12:47:40 +01:00
2024-02-02 16:23:47 +00:00
2024-02-02 18:56:32 +00:00
2024-02-14 06:09:33 -05:00
2024-02-22 12:47:40 +01:00
2023-10-27 12:48:57 +01:00
2024-02-23 23:24:42 +10:00
2024-01-08 10:45:43 -05:00
2024-02-09 20:43:14 +10:00
2023-12-30 07:38:06 +11:00
2024-02-15 16:58:46 +01:00
2024-02-02 18:56:32 +00:00
2024-02-13 19:37:28 +00:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-02-21 08:16:30 +03:00
2024-02-14 06:09:33 -05:00
2024-02-22 12:47:40 +01:00
2024-02-15 16:58:46 +01:00
2024-02-02 13:51:59 +00:00
2024-02-20 20:34:21 +03:00
2023-12-30 07:38:06 +11:00
2024-02-22 12:47:40 +01:00
2023-12-05 13:57:18 +09:00
2024-02-20 20:34:21 +03:00
2024-01-29 08:26:25 +01:00
2024-02-14 06:09:32 -05:00
2023-12-30 07:38:06 +11:00
2024-02-02 18:56:32 +00:00
2024-02-02 16:23:47 +00:00
2024-02-02 16:23:47 +00:00
2024-02-01 08:13:30 +01:00
2024-02-01 08:13:30 +01:00