iio:buffer: iio_buffer_space_available() return true by default

A buffer implementation that has never free space does not make that much sense,
so assume that if not space_available callback is implemented the buffer has
always free space.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:ad9361: Fix sparse warnings

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:cf_axi_fft_core: Fix sparse warnings
iio:ad9122: Fix sparse warnings
iio: ad9517: Fix sparse warnings

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:ad9523: Fix sparse warnings

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:cf_axi_dds_so: Fix sparse warnings

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:cf_axi_adc: Restore non-streaming mode

In streaming mode it possible for the HDL core to lock up under certain
conditions. Restore for support for non-streaming mode until this problem has
been fixed and only use streaming mode if explicity requested.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:ad9361: Use true/false instead of 0/1 for boolean vlaues

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:cf_axi_jsed204b: Use devm_clk_get()

Avoids the need to have to explicitly release the clock.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:dmabuf:iio_buffer_block_release(): Fix use after free

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
iio:cf_axi_adc: Use simple_open

Use simple_open instead of duplicating it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
123
Merge branch 'xcomm_zynq' into xcomm_zynq_new_pcore_regmap