diff options
author | Tony Lindgren | 2018-06-19 11:43:41 +0200 |
---|---|---|
committer | Kalle Valo | 2018-06-27 17:45:22 +0200 |
commit | c40aad28a3cf762c4f842fdb8f6e7fa653a2241e (patch) | |
tree | ffdc192d69524475ad8aab42625e42a44fa3d889 /drivers/net/wireless/ti/wlcore/hw_ops.h | |
parent | wlcore: Use generic runtime pm calls for wowlan elp configuration (diff) | |
download | kernel-qcow2-linux-c40aad28a3cf762c4f842fdb8f6e7fa653a2241e.tar.gz kernel-qcow2-linux-c40aad28a3cf762c4f842fdb8f6e7fa653a2241e.tar.xz kernel-qcow2-linux-c40aad28a3cf762c4f842fdb8f6e7fa653a2241e.zip |
wlcore: Make sure firmware is initialized in wl1271_op_add_interface()
We have wl12xx_boot() call wl12xx_enable_interrupts() and if we have
wl1271_op_add_interface() call pm_runtime_get_sync() before the interrupts
are enabled. And then we get the following error during boot:
wlcore: ERROR ELP wakeup timeout!
Let's fix this by first checking if we need to boot the firmware. And
only after that call pm_runtime_get_sync() when interrupts are enabled.
And only after that do the check for wl12xx_need_fw_change().
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/hw_ops.h')
0 files changed, 0 insertions, 0 deletions