summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-06-19 12:43:41 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-06-27 18:45:22 +0300
commitc40aad28a3cf762c4f842fdb8f6e7fa653a2241e (patch)
treeffdc192d69524475ad8aab42625e42a44fa3d889 /tools/perf/scripts/python/intel-pt-events.py
parent45aa7f071b06c8481afed4c7b93e07c9584741e8 (diff)
downloadlinux-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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions