diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2017-08-03 12:22:17 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-08-20 17:21:47 +0300 |
commit | a359bb2a55f384bb93349ddf9d30b20b37e02e8a (patch) | |
tree | 35143eabceeb0d608417a179bb07c2964d818afa /drivers/pinctrl/sirf | |
parent | fdd0d32eb95f135041236a6885d9006315aa9a1d (diff) | |
download | linux-a359bb2a55f384bb93349ddf9d30b20b37e02e8a.tar.xz |
iio: trigger: stm32-timer: fix get trigger mode
Fix reading trigger mode, when other bit-fields are set. SMCR register
value must be masked to read SMS (slave mode selection) only.
Fixes: 9eba381 ("iio: make stm32 trigger driver use
INDIO_HARDWARE_TRIGGERED mode")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/pinctrl/sirf')
0 files changed, 0 insertions, 0 deletions