“b9c5143a012a543c4ee872498d6dbae5c10beb2e”上不存在“tools/perf/util/git@gitcode.net:openharmony/kernel_linux.git”
提交 d96e3927 编写于 作者: B Brian Norris 提交者: Kalle Valo

mwifiex: cleanup wake-IRQ handling if suspend fails

We don't want to leave the wake IRQ enabled.
Signed-off-by: NBrian Norris <briannorris@chromium.org>
Signed-off-by: NAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 61d10842
...@@ -135,6 +135,7 @@ static int mwifiex_pcie_suspend(struct device *dev) ...@@ -135,6 +135,7 @@ static int mwifiex_pcie_suspend(struct device *dev)
mwifiex_dbg(adapter, ERROR, mwifiex_dbg(adapter, ERROR,
"cmd: failed to suspend\n"); "cmd: failed to suspend\n");
adapter->hs_enabling = false; adapter->hs_enabling = false;
mwifiex_disable_wake(adapter);
return -EFAULT; return -EFAULT;
} }
......
...@@ -298,6 +298,7 @@ static int mwifiex_sdio_suspend(struct device *dev) ...@@ -298,6 +298,7 @@ static int mwifiex_sdio_suspend(struct device *dev)
mwifiex_dbg(adapter, ERROR, mwifiex_dbg(adapter, ERROR,
"cmd: failed to suspend\n"); "cmd: failed to suspend\n");
adapter->hs_enabling = false; adapter->hs_enabling = false;
mwifiex_disable_wake(adapter);
return -EFAULT; return -EFAULT;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册