aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorBilly Tsai <[email protected]>2022-11-14 10:50:56 +0800
committerJonathan Cameron <[email protected]>2022-11-14 20:20:08 +0000
commitfdd0d6b2eb35c83d6b1226ad20b346a4b45ddfb8 (patch)
tree11d10449849fec6f4d8fb4d239bce6cdc846bb07 /lib/mpi/mpi-sub-ui.c
parent4ad09d956f8eacff61e67e5b13ba8ebec3232f76 (diff)
iio: adc: aspeed: Remove the trim valid dts property.
The dts property "aspeed,trim-data-valid" is currently used to determine whether to read trimming data from the OTP register. If this is set on a device without valid trimming data in the OTP the ADC will not function correctly. This patch drops the use of this property and instead uses the default (unprogrammed) OTP value of 0 to detect when a fallback value of 0x8 should be used rather then the value read from the OTP. Fixes: d0a4c17b4073 ("iio: adc: aspeed: Get and set trimming data.") Signed-off-by: Billy Tsai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions