diff options
author | William Breathitt Gray <william.gray@linaro.org> | 2023-03-16 23:34:26 +0300 |
---|---|---|
committer | William Breathitt Gray <william.gray@linaro.org> | 2023-03-18 16:26:40 +0300 |
commit | 00f4bc5184c19cb33f468f1ea409d70d19f8f502 (patch) | |
tree | dc0110912389835d3f4e1c84883badfa57316d65 /drivers/counter/microchip-tcb-capture.c | |
parent | 4aa3b75c74603c3374877d5fd18ad9cc3a9a62ed (diff) | |
download | linux-00f4bc5184c19cb33f468f1ea409d70d19f8f502.tar.xz |
counter: 104-quad-8: Fix Synapse action reported for Index signals
Signal 16 and higher represent the device's Index lines. The
priv->preset_enable array holds the device configuration for these Index
lines. The preset_enable configuration is active low on the device, so
invert the conditional check in quad8_action_read() to properly handle
the logical state of preset_enable.
Fixes: f1d8a071d45b ("counter: 104-quad-8: Add Generic Counter interface support")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230316203426.224745-1-william.gray@linaro.org/
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Diffstat (limited to 'drivers/counter/microchip-tcb-capture.c')
0 files changed, 0 insertions, 0 deletions