diff options
author | Alisa-Dariana Roman <alisa.roman@analog.com> | 2023-09-24 18:21:48 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-10-05 20:06:46 +0300 |
commit | 7e7dcab620cd6d34939f615cac63fc0ef7e81c72 (patch) | |
tree | 48e8b3d24d928426841fef06e34d11589cb274eb /net/ipv4/tcp_timer.c | |
parent | 7e87ab38eed09c9dec56da361d74158159ae84a3 (diff) | |
download | linux-7e7dcab620cd6d34939f615cac63fc0ef7e81c72.tar.xz |
iio: adc: ad7192: Correct reference voltage
The avdd and the reference voltage are two different sources but the
reference voltage was assigned according to the avdd supply.
Add vref regulator structure and set the reference voltage according to
the vref supply from the devicetree.
In case vref supply is missing, reference voltage is set according to
the avdd supply for compatibility with old devicetrees.
Fixes: b581f748cce0 ("staging: iio: adc: ad7192: move out of staging")
Signed-off-by: Alisa-Dariana Roman <alisa.roman@analog.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230924152149.41884-1-alisadariana@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions