[IIO] bugfixes related to errors from yocto run
authorParichay Kapoor <pk.kapoor@samsung.com>
Fri, 12 Apr 2019 02:13:00 +0000 (11:13 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 12 Apr 2019 07:15:04 +0000 (16:15 +0900)
commit8b544c9ab09a1c52553a402b239d65b509471b45
treecbb42b8647ce69d5484bff89ab582bfffeec96b7
parent167952dcf65b24e7473229ec8d6f094c9ccedadf
[IIO] bugfixes related to errors from yocto run

1. set base src as async, resolves the error of hanging
  without setting base_src as async, _start_complete gets called twice
2. initializing log_file to NULL
3. NULL check for variable before using it for remove/rmdir
4. remove _query function, was incomplete, and complete function
  was same as parent class function

resolve #1353

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