commit | b9da4d223bdade1f6f3401387761f61b0da1224e | [log] [tgz] |
---|---|---|
author | Brian Norris <briannorris@chromium.org> | Fri Nov 18 22:43:25 2016 +0530 |
committer | Kalle Valo <kvalo@codeaurora.org> | Fri Nov 25 11:49:56 2016 +0200 |
tree | d1272d0c6644565d336a03896df14235deb432de | |
parent | d96e39270ba5b81dee63f7a1bdaad01484c94e08 [diff] |
mwifiex: avoid double-disable_irq() race We have a race where the wakeup IRQ might be in flight while we're calling mwifiex_disable_wake() from resume(). This can leave us disabling the IRQ twice. Let's disable the IRQ and enable it in case if we have double-disabled it. Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>