[PATCH v4 0/3] iio: generic_buffer: Select device/trigger by number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series adds support for selecting iio devices/triggers by numeric id
rather than just name. This is useful because the names are not actually
guaranteed to be unique.

Changes since v3:
* Rebase on top of latest jic23/testing
* Fix handling of --trigger-num 0. Initialize trig_num to -1 and check if >= 0
for valid id.

Jonathan: you replied to v3 saying that they were applied but I don't see those
patches on any branch from your repo:
    https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git

Crestez Dan Leonard (3):
  iio: generic_buffer: Cleanup when receiving signals
  iio: generic_buffer: Add --device-num option
  iio: generic_buffer: Add --trigger-num option

 tools/iio/iio_generic_buffer.c | 261 ++++++++++++++++++++++++++++-------------
 1 file changed, 181 insertions(+), 80 deletions(-)

-- 
2.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux