e description. Thank you.
Jian-Hong Pan
> > > -Original Message-
> > > From: linux-iio-ow...@vger.kernel.org
> > > On Behalf Of Jian-Hong Pan
> > > Sent: Sunday, November 18, 2018 10:12 PM
> > > To: Jonathan Cameron ; Hartmut Knaack
>
; > Behalf Of Jian-Hong Pan
> > Sent: Sunday, November 18, 2018 10:12 PM
> > To: Jonathan Cameron ; Hartmut Knaack ;
> > Lars-Peter Clausen ; Peter Meerwald-Stadler
> > ; Dominique Martinet
> > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
>
l.org;
> li...@endlessm.com; Jian-Hong Pan
> Subject: [PATCH] iio: st_sensors: Fix the sleep time for sampling
>
> According to the description of st_sensor_settings and st_sensor_data
> structures' comments:
> - bootime: samples to discard when sensor passing from powe
; Hartmut Knaack ;
Lars-Peter Clausen ; Peter Meerwald-Stadler
; Dominique Martinet
Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
li...@endlessm.com; Jian-Hong Pan
Subject: [PATCH] iio: st_sensors: Fix the sleep time for sampling
According to the description of st_sensor_se
According to the description of st_sensor_settings and st_sensor_data
structures' comments:
- bootime: samples to discard when sensor passing from power-down to
power-up.
- odr: Output data rate of the sensor [Hz].
The sleep time should be
sdata->sensor_settings->bootime + 1000 / sdata->odr ms.
S
5 matches
Mail list logo