diff options
author | Octavian Purdila <octavian.purdila@intel.com> | 2015-03-22 20:33:40 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-03-29 16:17:11 +0100 |
commit | 3bbec9773389112330954a6a64422eaa78d546c1 (patch) | |
tree | 76c1252099a9250f8808f5b932465d913f76c13f /drivers/ntb | |
parent | f4f4673b7535eff4ee1a8cfb1685fa1e1a0cb79d (diff) | |
download | linux-3bbec9773389112330954a6a64422eaa78d546c1.tar.bz2 |
iio: bmc150_accel: add support for hardware fifo
We only advertise hardware fifo support if the I2C bus supports full
I2C or smbus I2C block data reads since it is mandatory to read the
full frame in one read (otherwise the rest of the frame is discarded).
The hardware fifo is enabled only when triggers are not active because:
(a) when using the any-motion trigger the user expects to see samples
based on ROC events, but the fifo stores samples based on the sample
frequency
(b) the data-ready trigger is waking the CPU for for every sample, so
using the hardware fifo does not have any benefit
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions