commit | e18a2ad45caeb11226e49c25068d0f2efe2adf6c | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Oct 13 18:10:27 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Oct 25 13:52:31 2015 +0000 |
tree | 114be0686488813e493c28cdac988ad36de055ec | |
parent | b440655b896b2d5a2fb5f918801fb0e281a537cd [diff] |
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>