aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorAlisa-Dariana Roman <[email protected]>2023-09-24 15:21:48 +0000
committerJonathan Cameron <[email protected]>2023-10-05 17:06:46 +0000
commit7e7dcab620cd6d34939f615cac63fc0ef7e81c72 (patch)
tree48e8b3d24d928426841fef06e34d11589cb274eb /drivers/net/dsa/dsa_loop.c
parentiio: light: vcnl4000: Don't power on/off chip in config (diff)
downloadkernel-7e7dcab620cd6d34939f615cac63fc0ef7e81c72.tar.gz
kernel-7e7dcab620cd6d34939f615cac63fc0ef7e81c72.zip
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 <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions