diff options
author | Abhash Jha <abhashkumarjha123@gmail.com> | 2024-08-14 17:01:34 +0530 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-08-17 15:38:14 +0100 |
commit | 4bd7e5ce519a9f1de1a58fb10438e45aa9cc85ca (patch) | |
tree | bdc1f6e60a5a09b79bb5d3509027f670a7ebbaf7 /Documentation | |
parent | 14e0d914a855f9ad2669c0a2ed35f0003f771be5 (diff) | |
download | linux-4bd7e5ce519a9f1de1a58fb10438e45aa9cc85ca.tar.gz linux-4bd7e5ce519a9f1de1a58fb10438e45aa9cc85ca.tar.bz2 linux-4bd7e5ce519a9f1de1a58fb10438e45aa9cc85ca.zip |
iio: light: ltr390: Calculate 'counts_per_uvi' dynamically
counts_per_uvi depends on the current value of gain and resolution.
Hence, we cannot use the hardcoded value 96.
The `counts_per_uvi` function gives the count based on the current gain
and resolution (integration time).
Signed-off-by: Abhash Jha <abhashkumarjha123@gmail.com>
Link: https://patch.msgid.link/20240814113135.14575-3-abhashkumarjha123@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions