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 14:52:31 +0100 |
commit | e18a2ad45caeb11226e49c25068d0f2efe2adf6c (patch) | |
tree | 114be0686488813e493c28cdac988ad36de055ec /drivers/iio/trigger | |
parent | iio: Add support for indicating fixed watermarks (diff) | |
download | linux-e18a2ad45caeb11226e49c25068d0f2efe2adf6c.tar.xz 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 'drivers/iio/trigger')
0 files changed, 0 insertions, 0 deletions