From: Lars-Peter Clausen Date: Mon, 25 Nov 2013 14:56:00 +0000 (+0000) Subject: iio: Add support for blocking IO on buffers X-Git-Tag: v3.14-rc1~150^2~163^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee551a10006f3728c231bbe9c30635ff53250dbc;p=pandora-kernel.git iio: Add support for blocking IO on buffers Currently the IIO buffer interface only allows non-blocking reads. This patch adds support for blocking IO. In blocking mode the thread will go to sleep if no data is available and will wait for the buffer implementation to signal that new data is available by waking up the buffers waitqueue. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed