acrn-kernel/drivers/counter
William Breathitt Gray 5a62d771e5 counter: 104-quad-8: Fix Synapse action reported for Index signals
commit 00f4bc5184 upstream.

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: f1d8a071d4 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-13 16:55:31 +02:00
..
104-quad-8.c counter: 104-quad-8: Fix Synapse action reported for Index signals 2023-04-13 16:55:31 +02:00
Kconfig counter: ti-ecap-capture: capture driver support for ECAP 2022-09-30 14:32:35 +02:00
Makefile counter: ti-ecap-capture: capture driver support for ECAP 2022-09-30 14:32:35 +02:00
counter-chrdev.c counter: Introduce the COUNTER_COMP_ARRAY component type 2022-09-30 14:32:35 +02:00
counter-chrdev.h counter: Add character device interface 2021-10-17 10:53:52 +01:00
counter-core.c counter: Move symbols into COUNTER namespace 2022-09-30 14:32:35 +02:00
counter-sysfs.c counter: Introduce the COUNTER_COMP_ARRAY component type 2022-09-30 14:32:35 +02:00
counter-sysfs.h
ftm-quaddec.c counter: Move symbols into COUNTER namespace 2022-09-30 14:32:35 +02:00
intel-qep.c counter: Move symbols into COUNTER namespace 2022-09-30 14:32:35 +02:00
interrupt-cnt.c counter: interrupt-cnt: Implement watch_validate callback 2022-09-30 14:32:35 +02:00
microchip-tcb-capture.c counter: microchip-tcb-capture: Handle Signal1 read and Synapse 2022-10-23 20:38:49 -04:00
stm32-lptimer-cnt.c counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update 2022-12-31 13:32:41 +01:00
stm32-timer-cnt.c counter: Move symbols into COUNTER namespace 2022-09-30 14:32:35 +02:00
ti-ecap-capture.c counter: ti-ecap-capture: fix IS_ERR() vs NULL check 2022-10-17 09:51:29 -04:00
ti-eqep.c counter: Move symbols into COUNTER namespace 2022-09-30 14:32:35 +02:00