summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-02-28 01:48:19 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-01 11:19:56 +0000
commit48a5c36577ebe0144f8ede70e59b59ea18b75089 (patch)
treea723a79ef399e72e74ec48844a12179e5b19a57a /tools/perf/scripts/python/stackcollapse.py
parenta0b9b0f1433c845bda708753db32befef78e0f1f (diff)
iio: adc: ti-ads1119: Fix unbalanced pm reference count in ds1119_single_conversion()
In ads1119_single_conversion(), if pm_runtime_resume_and_get() fails, the code jumps to the pdown label, which calls pm_runtime_put_autosuspend(). Since pm_runtime_resume_and_get() automatically decrements the usage counter on failure, the subsequent call to pm_runtime_put_autosuspend() causes an unbalanced reference counter. Fixes: a9306887eba4 ("iio: adc: ti-ads1119: Add driver") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Reviewed-by: João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions