diff options
| author | Tony Lindgren <tony@atomide.com> | 2018-06-19 12:43:41 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2018-06-27 18:45:22 +0300 |
| commit | c40aad28a3cf762c4f842fdb8f6e7fa653a2241e (patch) | |
| tree | ffdc192d69524475ad8aab42625e42a44fa3d889 /tools/perf/scripts/python/netdev-times.py | |
| parent | 45aa7f071b06c8481afed4c7b93e07c9584741e8 (diff) | |
| download | linux-c40aad28a3cf762c4f842fdb8f6e7fa653a2241e.tar.xz | |
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 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
