Matti Vaittinen e65065132f iio: gts-helpers: fix integration time units
The IIO ABI mandates expressing integration times in seconds. The GTS
helper errorneously uses micro seconds in integration_times_available.
Fix this by converting the lists to IIO_VAL_INT_PLUS_MICRO.

Fixes: 38416c28e168 ("iio: light: Add gain-time-scale helpers")
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/eeacd192c259e885850b5a2dd8b776bccfc44fa8.1681722914.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-05-13 17:54:57 +01:00
..
2023-05-13 17:54:57 +01:00
2023-04-27 12:07:50 -07:00
2022-06-04 14:04:27 -07:00
2022-11-27 15:05:05 +01:00
2023-04-27 12:07:50 -07:00
2023-05-13 17:54:57 +01:00
2021-11-17 17:51:35 +00:00
2023-01-21 17:35:23 +00:00