diff options
author | Zhang Shurong <[email protected]> | 2023-10-05 22:28:35 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-10-09 10:56:51 +0530 |
commit | 0618c077a8c20e8c81e367988f70f7e32bb5a717 (patch) | |
tree | 6de08aa344ef76718d094091370434c8c524a9f2 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 01f1ae2733e2bb4de92fefcea5fda847d92aede1 (diff) |
dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
The pm_runtime_enable will increase power disable depth. Thus
a pairing decrement is needed on the error handling path to
keep it balanced according to context.
We fix it by calling pm_runtime_disable when error returns.
Signed-off-by: Zhang Shurong <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions