Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f8e81d7e authored by Gregor Boirie's avatar Gregor Boirie Committed by Jonathan Cameron
Browse files

tools:iio:iio_generic_buffer: fix trigger-less mode



Passing the trigger-less mode option on the command line causes
iio_generic_buffer to fail searching for an IIO trigger.
Fix this by skipping trigger initialization if trigger-less mode is
requested.

Technically it actually fixes:
7c7e9dad where the bug was introduced but as the window to the patch
below that changes the context was very small let's mark it with that.

Signed-off-by: default avatarGregor Boirie <gregor.boirie@parrot.com>
Fixes: deb4d1fd ("iio: generic_buffer: Fix --trigger-num option")
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent eafe5cfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment