OpenCloudOS-Kernel/drivers/iio/trigger
Fabrice Gasnier 1987a08cd9 iio: trigger: stm32-timer: fix write_raw return value
Fixes: 4adec7da05 ("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>
2017-07-30 14:44:28 +01:00
..
Kconfig iio: Add STM32 timer trigger driver 2017-01-25 16:11:56 +00:00
Makefile iio: Add STM32 timer trigger driver 2017-01-25 16:11:56 +00:00
iio-trig-hrtimer.c ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
iio-trig-interrupt.c iio: trigger: free trigger resource correctly 2017-01-22 16:14:21 +00:00
iio-trig-loop.c iio:trigger: Experimental kthread tight loop trigger (thread only) 2016-06-03 13:18:44 +01:00
iio-trig-sysfs.c iio: trigger: free trigger resource correctly 2017-01-22 16:14:21 +00:00
stm32-timer-trigger.c iio: trigger: stm32-timer: fix write_raw return value 2017-07-30 14:44:28 +01:00