diff options
author | Tony Lindgren <tony@atomide.com> | 2018-06-19 02:43:41 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-06-27 18:45:22 +0300 |
commit | c40aad28a3cf762c4f842fdb8f6e7fa653a2241e (patch) | |
tree | ffdc192d69524475ad8aab42625e42a44fa3d889 /drivers/net/wireless/ti/wl18xx/debugfs.c | |
parent | wlcore: Use generic runtime pm calls for wowlan elp configuration (diff) | |
download | linux-dev-c40aad28a3cf762c4f842fdb8f6e7fa653a2241e.tar.xz linux-dev-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/wl18xx/debugfs.c')
0 files changed, 0 insertions, 0 deletions