Re: [PATCH] counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED

2021-02-25 Thread William Breathitt Gray
On Thu, Feb 25, 2021 at 12:19:18PM +0100, Fabrice Gasnier wrote: > On 2/19/21 10:59 AM, William Breathitt Gray wrote: > > When in SLAVE_MODE_DISABLED mode, the count still increases if the > > counter is enabled because an internal clock is used. This patch fixes > > the stm32_count_function_get()

Re: [PATCH] counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED

2021-02-25 Thread Fabrice Gasnier
On 2/19/21 10:59 AM, William Breathitt Gray wrote: > When in SLAVE_MODE_DISABLED mode, the count still increases if the > counter is enabled because an internal clock is used. This patch fixes > the stm32_count_function_get() function to properly report this > behavior. Hi William, Thanks for the

[PATCH] counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED

2021-02-19 Thread William Breathitt Gray
When in SLAVE_MODE_DISABLED mode, the count still increases if the counter is enabled because an internal clock is used. This patch fixes the stm32_count_function_get() function to properly report this behavior. Fixes: ad29937e206f ("counter: Add STM32 Timer quadrature encoder") Cc: Fabrice Gasnie