[PATCH 0/2] iio: Fix integration time unit

From: Matti Vaittinen
Date: Mon Apr 17 2023 - 05:20:00 EST


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
--
2.39.2


--
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =]

Attachment: signature.asc
Description: PGP signature