[PATCH 4.18 097/168] iio: imu: st_lsm6dsx: take into account ts samples in wm configuration