diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2021-02-26 02:29:31 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-02-27 17:10:28 +0100 |
commit | fae6f62e6a580b663ecf42c2120a0898deae9137 (patch) | |
tree | 8e790bad71c7aa67b35e32bd462d6867bac5d1fa /MAINTAINERS | |
parent | iio: adc: ab8500-gpadc: Fix off by 10 to 3 (diff) | |
download | linux-fae6f62e6a580b663ecf42c2120a0898deae9137.tar.xz linux-fae6f62e6a580b663ecf42c2120a0898deae9137.zip |
counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
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 behavior.
Fixes: ad29937e206f ("counter: Add STM32 Timer quadrature encoder")
Cc: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20210226012931.161429-1-vilhelm.gray@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions