mbox series

[0/2] support rational ODRs in st_lsm6dsx

Message ID cover.1572203759.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series support rational ODRs in st_lsm6dsx | expand

Message

Lorenzo Bianconi Oct. 27, 2019, 7:21 p.m. UTC
Express ODRs in HZ / 10 in order to support rational ODRs (e.g. 12.5Hz).
This series will fix an Android CTS failure.
Explicitly define odr table size.
This series is based on 'iio: imu: st_lsm6dsx: fix ODR check in
st_lsm6dsx_write_raw'
https://patchwork.kernel.org/patch/11214281/

Lorenzo Bianconi (2):
  iio: imu: st_lsm6dsx: explicitly define odr table size
  iio: imu: st_lsm6dsx: express odr in HZ / 10

 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h      |   4 +-
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 206 ++++++++++---------
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c |  33 +--
 3 files changed, 133 insertions(+), 110 deletions(-)

Comments

Mario TESI Oct. 31, 2019, 2:43 p.m. UTC | #1
Tested-by: Mario Tesi <mario.tesi@st.com>


On 10/27/19 8:21 PM, Lorenzo Bianconi wrote:
> Express ODRs in HZ / 10 in order to support rational ODRs (e.g. 12.5Hz).
> This series will fix an Android CTS failure.
> Explicitly define odr table size.
> This series is based on 'iio: imu: st_lsm6dsx: fix ODR check in
> st_lsm6dsx_write_raw'
> https://patchwork.kernel.org/patch/11214281/
>
> Lorenzo Bianconi (2):
>    iio: imu: st_lsm6dsx: explicitly define odr table size
>    iio: imu: st_lsm6dsx: express odr in HZ / 10
>
>   drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h      |   4 +-
>   drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 206 ++++++++++---------
>   drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c |  33 +--
>   3 files changed, 133 insertions(+), 110 deletions(-)
>