aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorOlivier Moysan <[email protected]>2022-06-09 09:58:56 +0000
committerJonathan Cameron <[email protected]>2022-06-19 16:22:49 +0000
commitbc05f30fc24705cd023f38659303376eaa5767df (patch)
tree05d966ff2b61928bb5f9fc41c48c3f07e7b172a5 /scripts/clang-tools/gen_compile_commands.py
parentiio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value) (diff)
downloadkernel-bc05f30fc24705cd023f38659303376eaa5767df.tar.gz
kernel-bc05f30fc24705cd023f38659303376eaa5767df.zip
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 <[email protected]> Reviewed-by: Fabrice Gasnier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions