[IIO] restore iio device on _stop()
authorParichay Kapoor <pk.kapoor@samsung.com>
Thu, 28 Mar 2019 11:36:43 +0000 (20:36 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 2 Apr 2019 07:33:08 +0000 (16:33 +0900)
commitee63577f3ac3d048b39da1a3005d2eec01310c17
tree8c3085e8eeb4c008bd55bf236330cba55b9849dd
parent30079a5c8ae48e4bf7e9e9cc41682fd2aa61b4ec
[IIO] restore iio device on _stop()

restore the existing values of scan_channels_en, sampling_frequency,
buffer/length and current trigger (if exist) when stopping the element

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
gst/nnstreamer/tensor_source/tensor_src_iio.c
gst/nnstreamer/tensor_source/tensor_src_iio.h