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-04 15:57:44 +0200
commit45994851fa548df8c829b07aab97a98790f18a6b (patch)
tree3038e35d5d6b42d0cb2a044b906ec627d52983c2 /tools/lib/python
parentc98bf3b86609a18ab16d067280257326e557c636 (diff)
downloadlinux-next-45994851fa548df8c829b07aab97a98790f18a6b.tar.gz
linux-next-45994851fa548df8c829b07aab97a98790f18a6b.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