mbox series

[0/2] iio: Fix integration time unit

Message ID cover.1681722914.git.mazziesaccount@gmail.com (mailing list archive)
Headers show
Series iio: Fix integration time unit | expand

Message

Matti Vaittinen April 17, 2023, 9:19 a.m. UTC
The recently introduced BU27034 used micro-seconds as units for
integration time. So did the GTS-helpers.

The IIO ABI mandates using seconds. This series fixes integration times
for the BU27034 ALS driver and the GTS-helpers.

---

Matti Vaittinen (2):
  iio: bu27034: Fix integration time
  iio: gts-helpers: fix integration time units

 drivers/iio/industrialio-gts-helper.c | 43 ++++++++++++++++++++-------
 drivers/iio/light/rohm-bu27034.c      | 14 +++++----
 2 files changed, 42 insertions(+), 15 deletions(-)


base-commit: c86b0e73f0bebbb0245ef2bac4cf269d61ff828c