summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@foss.st.com>2022-06-09 12:58:56 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-19 19:22:49 +0300
commitbc05f30fc24705cd023f38659303376eaa5767df (patch)
tree05d966ff2b61928bb5f9fc41c48c3f07e7b172a5 /scripts/gdb/linux/symbols.py
parent106b391e1b859100a3f38f0ad874236e9be06bde (diff)
downloadlinux-bc05f30fc24705cd023f38659303376eaa5767df.tar.xz
iio: adc: stm32: fix vrefint wrong calibration value handling
If the vrefint calibration is zero, the vrefint channel output value cannot be computed. Currently, in such case, the raw conversion value is returned, which is not relevant. Do not expose the vrefint channel when the output value cannot be computed, instead. Fixes: 0e346b2cfa85 ("iio: adc: stm32-adc: add vrefint calibration support") Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Link: https://lore.kernel.org/r/20220609095856.376961-1-olivier.moysan@foss.st.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions