mirror of https://gitee.com/openkylin/linux.git
3bbec97733
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
bma180.c | ||
bmc150-accel.c | ||
hid-sensor-accel-3d.c | ||
kxcjk-1013.c | ||
kxsd9.c | ||
mma8452.c | ||
mma9551.c | ||
mma9551_core.c | ||
mma9551_core.h | ||
mma9553.c | ||
ssp_accel_sensor.c | ||
st_accel.h | ||
st_accel_buffer.c | ||
st_accel_core.c | ||
st_accel_i2c.c | ||
st_accel_spi.c |