summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorRahul Pon <theflyingrahul@gmail.com>2026-09-30 16:46:41 +0530
committerAndi Shyti <andi.shyti@kernel.org>2026-10-05 12:10:52 +0200
commitae8364085574203e7f4ea961921a1c7493bcb6de (patch)
tree077f13b2375e7cc6689c5daac23c248b6051ca0a /tools/lib/python
parenta90ee4305c4a5df72c11b31dacfdc76e00fcf78a (diff)
downloadlinux-next-ae8364085574203e7f4ea961921a1c7493bcb6de.tar.gz
linux-next-ae8364085574203e7f4ea961921a1c7493bcb6de.zip
i2c: qcom-geni: release runtime PM reference when set_rate fails
geni_i2c_xfer() takes a runtime-PM reference with pm_runtime_get_sync() and then returns directly if the set_rate() callback fails, leaking the reference and keeping the controller resumed for good. Route that error through the existing cleanup path, which drops the reference and resets the transfer state. Found by code review; compile-tested with arm64 defconfig plus ACPI and W=1. Fixes: 10e74f4c5046 ("i2c: qcom-geni: Enable I2C on SA8255p Qualcomm platforms") Assisted-by: LLM Signed-off-by: Rahul Pon <theflyingrahul@gmail.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://patch.msgid.link/20260930111641.1134-1-theflyingrahul@gmail.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions