acrn-kernel/drivers/counter
William Breathitt Gray 3418bd7cfc counter: microchip-tcb-capture: Fix CMR value check
The ATMEL_TC_ETRGEDG_* defines are not masks but rather possible values
for CMR. This patch fixes the action_get() callback to properly check
for these values rather than mask them.

Fixes: 106b104137 ("counter: Add microchip TCB capture counter")
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Cc: <Stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201114232805.253108-1-vilhelm.gray@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-12-03 19:40:31 +00:00
..
104-quad-8.c Linux 5.8-rc6 2020-07-20 09:37:31 +02:00
Kconfig counter: Add microchip TCB capture counter 2020-07-20 13:04:40 +01:00
Makefile counter: Add microchip TCB capture counter 2020-07-20 13:04:40 +01:00
counter.c
ftm-quaddec.c
microchip-tcb-capture.c counter: microchip-tcb-capture: Fix CMR value check 2020-12-03 19:40:31 +00:00
stm32-lptimer-cnt.c
stm32-timer-cnt.c
ti-eqep.c counter/ti-eqep: Fix regmap max_register 2020-11-01 17:17:31 +00:00