Skip to content
Commit 308f1924 authored by Dharma Balasubiramani's avatar Dharma Balasubiramani Committed by Greg Kroah-Hartman
Browse files

counter: microchip-tcb-capture: Fix the use of internal GCLK logic

commit df8fdd01 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: 106b1041

 ("counter: Add microchip TCB capture counter")
Signed-off-by: default avatarDharma Balasubiramani <dharma.b@microchip.com>
Link: https://lore.kernel.org/r/20230905100835.315024-1-dharma.b@microchip.com
Signed-off-by: default avatarWilliam Breathitt Gray <william.gray@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5a6ce81d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment