diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-07-27 18:19:00 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-07-30 15:48:14 +0200 |
commit | 90938ca432e6b8f6bb1c22a24984738fc3d906ed (patch) | |
tree | 327d2c8c8a0dd35f5fcec8c86746990074754279 /Documentation/locking/rt-mutex-design.txt | |
parent | iio: trigger: stm32-timer: fix get/set down count direction (diff) | |
download | linux-90938ca432e6b8f6bb1c22a24984738fc3d906ed.tar.xz linux-90938ca432e6b8f6bb1c22a24984738fc3d906ed.zip |
iio: trigger: stm32-timer: add enable attribute
In order to use encoder mode, timers needs to be enabled (e.g. CEN bit)
along with peripheral clock.
Add IIO_CHAN_INFO_ENABLE attribute to handle this.
Also, in triggered mode, CEN bit is set automatically in hardware.
Then clock must be enabled before starting triggered mode.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/locking/rt-mutex-design.txt')
0 files changed, 0 insertions, 0 deletions