diff options
author | Matti Vaittinen <mazziesaccount@gmail.com> | 2023-04-17 12:20:18 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-05-13 17:54:57 +0100 |
commit | e65065132fa6d9e1fd3b7418eae5215e3b7bf6c7 (patch) | |
tree | 2914f9fc7d37567a2b381554a77cadfa4984601a /arch/openrisc | |
parent | b7b04f393ffa1530213f522115e7d77761eb5c4f (diff) |
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>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions