commit | 1987a08cd989fd9e5690e90a04e70046e93315f4 | [log] [tgz] |
---|---|---|
author | Fabrice Gasnier <fabrice.gasnier@st.com> | Thu Jul 27 18:18:58 2017 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Jul 30 14:44:28 2017 +0100 |
tree | c5f32a3a34184f0563b8dbd4c2bee437595b0194 | |
parent | 50b39608efb1e60f334f9b59128fd6d970bfd5a6 [diff] |
iio: trigger: stm32-timer: fix write_raw return value Fixes: 4adec7da0536 ("iio: stm32 trigger: Add quadrature encoder device") IIO core expects zero as return value for write_raw() callback in case of success. 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>