diff options
author | Lars-Peter Clausen <[email protected]> | 2023-04-13 19:10:22 -0700 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2023-04-18 18:43:53 +0200 |
commit | d663d93bb47e7ab45602b227701022d8aa16040a (patch) | |
tree | 8518b943b9c0ec5a974919e0f2f1cb881896a8b0 /scripts/bpf_doc.py | |
parent | ae1664f04f504a998737f5bb563f16b44357bcca (diff) |
i2c: xiic: xiic_xfer(): Fix runtime PM leak on error path
The xiic_xfer() function gets a runtime PM reference when the function is
entered. This reference is released when the function is exited. There is
currently one error path where the function exits directly, which leads to
a leak of the runtime PM reference.
Make sure that this error path also releases the runtime PM reference.
Fixes: fdacc3c7405d ("i2c: xiic: Switch from waitqueue to completion")
Signed-off-by: Lars-Peter Clausen <[email protected]>
Reviewed-by: Michal Simek <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions