diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-05-20 20:46:47 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 13:14:47 +0200 |
commit | 345d68b47a05e455de5048bd3ed8e9aa5abb430c (patch) | |
tree | 7590d077db1a9ee3a50d2d19ab6cc6b756fa50ff /net/switchdev | |
parent | 3ad6b023d0eef580c3183af75abfb9c2a2c46993 (diff) | |
download | linux-stable-345d68b47a05e455de5048bd3ed8e9aa5abb430c.tar.gz linux-stable-345d68b47a05e455de5048bd3ed8e9aa5abb430c.tar.bz2 linux-stable-345d68b47a05e455de5048bd3ed8e9aa5abb430c.zip |
wlcore: fix runtime pm imbalance in wlcore_regdomain_config
[ Upstream commit 282a04bf1d8029eb98585cb5db3fd70fe8bc91f7 ]
pm_runtime_get_sync() increments the runtime PM usage counter even
the call returns an error code. Thus a pairing decrement is needed
on the error handling path to keep the counter balanced.
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200520124649.10848-1-dinghao.liu@zju.edu.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions