]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
authorAndreas Kemnade <andreas@kemnade.info>
Thu, 1 Dec 2022 18:16:35 +0000 (19:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:18 +0000 (11:28 +0100)
commit930351148181c6a53ed5ef00142ffbff02c637d5
tree568eb72721f60ce78c9be212a3a7fb3bd0966a60
parente05b41391ab361816e2faa62e5af5a28c2ee5946
iio:adc:twl6030: Enable measurements of VUSB, VBAT and others

commit f804bd0dc28683a93a60f271aaefb2fc5b0853dd upstream.

Some inputs need to be wired up to produce proper measurements,
without this change only near zero values are reported.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Fixes: 1696f36482e70 ("iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver")
Link: https://lore.kernel.org/r/20221201181635.3522962-1-andreas@kemnade.info
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/twl6030-gpadc.c