aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorYongzhi Liu <[email protected]>2022-01-15 21:34:56 -0800
committerVinod Koul <[email protected]>2022-02-15 11:04:16 +0530
commit455896c53d5b803733ddd84e1bf8a430644439b6 (patch)
tree6d30f18cee1c13a1c2157cc6a0002fe792e7b8c5 /net/switchdev/switchdev.c
parentda2ad87fba0891576aadda9161b8505fde81a84d (diff)
dmaengine: shdma: Fix runtime PM imbalance on error
pm_runtime_get_() increments the runtime PM usage counter even when it returns an error code, thus a matching decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Yongzhi Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions