WSL2-Linux-Kernel/drivers/counter
Dharma Balasubiramani 308f192496 counter: microchip-tcb-capture: Fix the use of internal GCLK logic
commit df8fdd01c9 upstream.

As per the datasheet, the clock selection Bits 2:0 – TCCLKS[2:0] should
be set to 0 while using the internal GCLK (TIMER_CLOCK1).

Fixes: 106b104137 ("counter: Add microchip TCB capture counter")
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
Link: https://lore.kernel.org/r/20230905100835.315024-1-dharma.b@microchip.com
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-19 23:05:37 +02:00
..
104-quad-8.c counter: 104-quad-8: Fix race condition between FLAG and CNTR reads 2023-04-26 13:51:55 +02:00
Kconfig counter: Add support for Intel Quadrature Encoder Peripheral 2021-06-03 18:24:14 +01:00
Makefile counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00
counter-core.c counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00
counter-sysfs.c counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00
counter-sysfs.h counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00
ftm-quaddec.c counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00
intel-qep.c counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00
interrupt-cnt.c counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00
microchip-tcb-capture.c counter: microchip-tcb-capture: Fix the use of internal GCLK logic 2023-10-19 23:05:37 +02:00
stm32-lptimer-cnt.c counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00
stm32-timer-cnt.c counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00
ti-eqep.c counter: Internalize sysfs interface code 2023-04-20 12:13:55 +02:00