Re: [PATCH 10/13] iio: cros_ec: Use triggered buffer only when EC does not support FIFO

2019-10-05 Thread Jonathan Cameron
On Sun, 22 Sep 2019 10:50:18 -0700 Gwendal Grignou wrote: > When EC supports FIFO, the samples will flow from the kernel by > themselves. > When no FIFO, the user space app needs to call trigger_new, or better > register a high precision timer. > > Signed-off-by: Gwendal Grignou Trivial commen

[PATCH 10/13] iio: cros_ec: Use triggered buffer only when EC does not support FIFO

2019-09-22 Thread Gwendal Grignou
When EC supports FIFO, the samples will flow from the kernel by themselves. When no FIFO, the user space app needs to call trigger_new, or better register a high precision timer. Signed-off-by: Gwendal Grignou --- drivers/iio/accel/cros_ec_accel_legacy.c | 8 +-- .../cros_ec_sensors/cros_e