linux/tools/iio
Crestez Dan Leonard deb4d1fdcb iio: generic_buffer: Fix --trigger-num option
Initialize trig_num to -1 and handle trig_num=0 as a valid id.

Fixes: 7c7e9dad (iio: iio_generic_buffer: Add --trigger-num option)
Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-06-11 17:38:06 +01:00
..
Makefile tools: iio: Rename generic_buffer to iio_generic_buffer 2016-05-29 19:56:33 +01:00
iio_event_monitor.c iio: Add channel for UV index 2016-04-03 11:14:01 +01:00
iio_generic_buffer.c iio: generic_buffer: Fix --trigger-num option 2016-06-11 17:38:06 +01:00
iio_utils.c tools: iio: remove unnecessary double pointer 2015-08-08 19:54:00 +01:00
iio_utils.h iio: tools: generic_buffer: auto-enable channels 2016-04-19 19:58:13 +01:00
lsiio.c iio: lsiio: fix error code handling error 2015-08-12 19:26:22 +01:00