summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorZongmin Zhou <zhouzongmin@kylinos.cn>2026-10-02 11:14:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-10-09 16:27:27 +0200
commitc26cc979e28f5193310e4379e14aa6417375c565 (patch)
tree0ee3881187626260ccb4710c58631b63d24555dc /include/linux
parent24530401e8001aaa637dd5007fcdc6fbc00300be (diff)
downloadlinux-next-c26cc979e28f5193310e4379e14aa6417375c565.tar.gz
linux-next-c26cc979e28f5193310e4379e14aa6417375c565.zip
slimbus: messaging: fix leaked PM vote on tid allocation failure
In slim_do_transfer(), when a transaction needs a tid and slim_alloc_txn_tid() fails, the function returns directly instead of jumping to slim_xfer_err. The runtime PM vote taken earlier with pm_runtime_get_sync() is then never released, leaving the controller permanently powered up. As txn->tid is still 0 at that point, jumping to slim_xfer_err drops the vote exactly like it is done for other failed transactions. Fixes: d3062a2109309 ("slimbus: messaging: add slim_alloc/free_txn_tid()") Cc: stable@vger.kernel.org Signed-off-by: Zongmin Zhou <zhouzongmin@kylinos.cn> Signed-off-by: Srinivas Kandagatla <srini@kernel.org> Link: https://patch.msgid.link/20261002101448.1084691-2-srini@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions