summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@intel.com>2015-03-22 20:33:40 +0200
committerJonathan Cameron <jic23@kernel.org>2015-03-29 16:17:11 +0100
commit3bbec9773389112330954a6a64422eaa78d546c1 (patch)
tree76c1252099a9250f8808f5b932465d913f76c13f /net
parentf4f4673b7535eff4ee1a8cfb1685fa1e1a0cb79d (diff)
downloadlinux-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 'net')
0 files changed, 0 insertions, 0 deletions