Re: [PATCH 11/13] iio: cros_ec: Expose hwfifo_timeout

2019-10-05 Thread Jonathan Cameron
On Sun, 22 Sep 2019 10:50:19 -0700 Gwendal Grignou wrote: > Expose EC sampling rate through buffer/hwfifo_timeout. This seems a bit odd unless EC term "sampling rate" is rather different from what I'd expect. Code looks fine though ;) > Rename frequency to sampling_frequency to match IIO ABI.

[PATCH 11/13] iio: cros_ec: Expose hwfifo_timeout

2019-09-22 Thread Gwendal Grignou
Expose EC sampling rate through buffer/hwfifo_timeout. Rename frequency to sampling_frequency to match IIO ABI. Signed-off-by: Gwendal Grignou --- .../common/cros_ec_sensors/cros_ec_sensors.c | 1 - .../cros_ec_sensors/cros_ec_sensors_core.c| 110 +- drivers/iio/light/cros