Re: [PATCH 4/5] iio:adxl372: Add sampling frequency support

2018-07-12 Thread Lars-Peter Clausen
On 07/12/2018 08:25 PM, Andy Shevchenko wrote: > On Thu, Jul 12, 2018 at 6:36 PM, Stefan Popa wrote: >> This patch adds the option for the user to select the sampling frequency. >> Also, the user can read the available frequencies and read the currently >> set frequency via the read_raw function.

Re: [PATCH 4/5] iio:adxl372: Add sampling frequency support

2018-07-12 Thread Andy Shevchenko
On Thu, Jul 12, 2018 at 6:36 PM, Stefan Popa wrote: > This patch adds the option for the user to select the sampling frequency. > Also, the user can read the available frequencies and read the currently > set frequency via the read_raw function. The frequency can be set via the > write_raw functio

[PATCH 4/5] iio:adxl372: Add sampling frequency support

2018-07-12 Thread Stefan Popa
This patch adds the option for the user to select the sampling frequency. Also, the user can read the available frequencies and read the currently set frequency via the read_raw function. The frequency can be set via the write_raw function. When the frequency is set, the bandwidth is also checked