diff options
author | Crestez Dan Leonard | 2016-06-03 21:56:29 +0300 |
---|---|---|
committer | Jonathan Cameron | 2016-06-11 17:38:06 +0100 |
commit | deb4d1fdcb5af079896f7ca5e8067e69485f6bdd (patch) | |
tree | 541c9af8d3750d8b82637dc56715012311c5657f /block/blk-exec.c | |
parent | b9155073ff5de8ca6f1c40b64abca702a237c4d1 (diff) |
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>
Diffstat (limited to 'block/blk-exec.c')
0 files changed, 0 insertions, 0 deletions