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

2021-02-27 Thread Jonathan Cameron
On Fri, 26 Feb 2021 16:24:32 +0100 Fabrice Gasnier wrote: > On 2/26/21 2:29 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() and

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

2021-02-26 Thread Fabrice Gasnier
On 2/26/21 2:29 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() and stm32_count_function_set() functions > to properly handle this