Loading drivers/iio/imu/st_asm330lhh/st_asm330lhh_buffer.c +4 −4 Original line number Diff line number Diff line Loading @@ -332,10 +332,10 @@ static int st_asm330lhh_read_fifo(struct st_asm330lhh_hw *hw) } memcpy(iio_buf, ptr, ST_ASM330LHH_SAMPLE_SIZE); hw->tsample = min_t(s64, hw->ts, hw->tsample); if ((i + (3*ST_ASM330LHH_FIFO_SAMPLE_SIZE)) > word_len) { hw->tsample = hw->ts; } iio_push_to_buffers_with_timestamp(iio_dev, iio_buf, hw->tsample); Loading Loading
drivers/iio/imu/st_asm330lhh/st_asm330lhh_buffer.c +4 −4 Original line number Diff line number Diff line Loading @@ -332,10 +332,10 @@ static int st_asm330lhh_read_fifo(struct st_asm330lhh_hw *hw) } memcpy(iio_buf, ptr, ST_ASM330LHH_SAMPLE_SIZE); hw->tsample = min_t(s64, hw->ts, hw->tsample); if ((i + (3*ST_ASM330LHH_FIFO_SAMPLE_SIZE)) > word_len) { hw->tsample = hw->ts; } iio_push_to_buffers_with_timestamp(iio_dev, iio_buf, hw->tsample); Loading