]> git.baikalelectronics.ru Git - kernel.git/commit
iio:adc:twl6030: Enable measurement of VAC
authorAndreas Kemnade <andreas@kemnade.info>
Sat, 17 Dec 2022 22:13:05 +0000 (23:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:26 +0000 (11:28 +0100)
commit47e6255b5ca5adcdbc1f295a5323279b616eb413
tree749dfe6004585701edb7f00cec04b6150b785785
parenta1f297d67b2705d4209dbdb56660637dd72a5faf
iio:adc:twl6030: Enable measurement of VAC

commit 1563bd0e9b65aa27cf8421a9a53fe1f3185c0023 upstream.

VAC needs to be wired up to produce proper measurements,
without this change only near zero values are reported.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Fixes: f3308d41d7f5 ("iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20221217221305.671117-1-andreas@kemnade.info
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/twl6030-gpadc.c