diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-10-13 18:10:27 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-10-25 13:52:31 +0000 |
commit | e18a2ad45caeb11226e49c25068d0f2efe2adf6c (patch) | |
tree | 114be0686488813e493c28cdac988ad36de055ec /include/linux/iio/kfifo_buf.h | |
parent | b440655b896b2d5a2fb5f918801fb0e281a537cd (diff) | |
download | blackbird-op-linux-e18a2ad45caeb11226e49c25068d0f2efe2adf6c.tar.gz blackbird-op-linux-e18a2ad45caeb11226e49c25068d0f2efe2adf6c.zip |
iio: Add buffer enable/disable callbacks
This patch adds a enable and disable callback that is called when the
buffer is enabled/disabled. This can be used by buffer implementations that
need to do some setup or teardown work. E.g. a DMA based buffer can use
this to start/stop the DMA transfer.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio/kfifo_buf.h')
0 files changed, 0 insertions, 0 deletions