summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSourav Mohapatra <mohapatr@codeaurora.org>2018-07-04 09:34:23 +0530
committernshrivas <nshrivas@codeaurora.org>2018-07-10 03:20:34 -0700
commit45d0083a715b6ac4a1bc2b61dd71da844e7f5285 (patch)
tree3c56dd9417193b73b8a4ffcb91dede290530e532 /tools/perf/scripts/python
parentf71c427c691f55609ae4e7245a8abc2b103828e2 (diff)
qcacld-3.0: Eliminate possibility of sending power off when FW is down
In the scenario of concurrent execution of __con_mode_handler and triggering of SSR, there exists a possibility of driver sending power off command while the target is not ready. In hdd_wlan_stop_modules, as a part of __con_mode_handler context, pld_power_off was called after the trigger of SSR, which caused assert in the platform driver. To eliminate this, convert the static verfification of the driver state at the start of the hdd_wlan_start_modules to dynamic. And also set the target ready state to false in case SSR/FW_DOWN uevent is received. These will ensure that the driver doesnot try to send the power off command while the target is not ready. Change-Id: Idf1056dc85107c535809bedf8b5534085033a1f5 CRs-Fixed: 2271096
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions