aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-10-30 16:09:41 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-31 21:41:00 +0000
commit62dd96ac9cdf2814f41cfc55ecaf22a28aad6ccb (patch)
tree1d07ae74d69c8e9343994c34f7d116e3d7574d72 /tools/perf/scripts/python/task-analyzer.py
parentc174b53e95adf2eece2afc56cd9798374919f99a (diff)
downloadlinux-62dd96ac9cdf2814f41cfc55ecaf22a28aad6ccb.tar.gz
linux-62dd96ac9cdf2814f41cfc55ecaf22a28aad6ccb.tar.bz2
linux-62dd96ac9cdf2814f41cfc55ecaf22a28aad6ccb.zip
iio: adc: ad4000: fix reading unsigned data
Fix reading unsigned data from the AD4000 ADC via the _raw sysfs attribute by ensuring that *val is set before returning from ad4000_single_conversion(). This was not being set in any code path and was causing the attribute to return a random value. Fixes: 938fd562b974 ("iio: adc: Add support for AD4000") Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20241030-iio-adc-ad4000-fix-reading-unsigned-data-v1-1-2e28dd75fe29@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions