OpenCloudOS-Kernel/drivers/iio/dummy
Lars-Peter Clausen be94a6f6d4 iio: dummy: events: Add missing break
Add missing break in iio_simple_dummy_write_event_config() for the voltage
threshold event enable attribute. Without this writing to the
in_voltage0_thresh_rising_en always returns -EINVAL even though the change
was correctly applied.

Fixes: 3e34e650db ("iio: dummy: Demonstrate the usage of new channel types")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-10-01 11:17:18 +01:00
..
Kconfig iio: dummy: Convert IIO dummy to configfs 2016-05-04 11:44:06 +01:00
Makefile
iio_dummy_evgen.c
iio_dummy_evgen.h
iio_simple_dummy.c iio: dummy: Convert IIO dummy to configfs 2016-05-04 11:44:06 +01:00
iio_simple_dummy.h iio: dummy: No semicolon at end of function definition 2016-12-30 18:35:05 +00:00
iio_simple_dummy_buffer.c iio:dummy: Stop enabling timestamp by default. 2017-01-10 19:54:55 +00:00
iio_simple_dummy_events.c iio: dummy: events: Add missing break 2017-10-01 11:17:18 +01:00