96boards: remove a typo This patch removes a typo in the board setup file which sets the number of gpios to be zero. Reported-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
iio.c: fix memory leak and out of bound array access issue Fix memory leak in mraa_iio_update_channels() and mraa_iio_get_channel_data(). In mraa_iio_update_channels(), we add checking for out of bound array access. Signed-off-by: Lay, Kuan Loon <kuan.loon.lay@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>