diff options
| author | rkalidos <rkalidos@codeaurora.org> | 2018-03-01 19:20:25 +0530 |
|---|---|---|
| committer | rkalidos <rkalidos@codeaurora.org> | 2018-03-01 20:12:13 +0530 |
| commit | 9f4fe7f7ba598e34a14a65e2aabca375941aa6d3 (patch) | |
| tree | cfa894c9a301014dc89468d9e4742b7070201038 | |
| parent | 71eddf47d19d4a6537a884a39e63e784dc471093 (diff) | |
qcacld-2.0: Remove early indication of ssr uevent
After dump data is sent to Host, the target goes for
a reset. Attempt to insmod should happen only after
dump completion and target reset i.e. in hif_usb_remove()
call. This is handled already in
I8c2acc05e0e367c073d7b27a5223d375b26724cb. So the other
fixes for early attempt to reload driver via kobject and
setting logP to FALSE are removed.
CRs-Fixed: 2147881
Change-Id: I887d57b8222babadc1994d42541d3d62eca11c40
| -rw-r--r-- | CORE/SERVICES/BMI/ol_fw.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/CORE/SERVICES/BMI/ol_fw.c b/CORE/SERVICES/BMI/ol_fw.c index ec9cdf9c44c4..83ae0d904d8c 100644 --- a/CORE/SERVICES/BMI/ol_fw.c +++ b/CORE/SERVICES/BMI/ol_fw.c @@ -1326,14 +1326,15 @@ void ol_ramdump_handler(struct ol_softc *scn) return; } + if (scn->enableFwSelfRecovery || scn->enableRamdumpCollection) + vos_set_logp_in_progress(VOS_MODULE_ID_VOSS, TRUE); + reg = (A_UINT32 *) (data + 4); print_hex_dump(KERN_DEBUG, " ", DUMP_PREFIX_OFFSET, 16, 4, reg, min_t(A_UINT32, len - 4, FW_REG_DUMP_CNT * 4), false); scn->fw_ram_dumping = 0; - if (scn->enableFwSelfRecovery || scn->enableRamdumpCollection) - vos_set_logp_in_progress(VOS_MODULE_ID_VOSS, TRUE); } else if (pattern == FW_REG_PATTERN) { reg = (A_UINT32 *) (data + 4); @@ -1358,11 +1359,6 @@ void ol_ramdump_handler(struct ol_softc *scn) remaining -= 16; reg += 4; } - if ((scn->enableFwSelfRecovery || scn->enableRamdumpCollection) && - (scn->fw_ram_dumping == 0)){ - kobject_uevent(&scn->adf_dev->dev->kobj, KOBJ_OFFLINE); - vos_set_logp_in_progress(VOS_MODULE_ID_VOSS, FALSE); - } } else if ((!scn->enableFwSelfRecovery)&& ((pattern & FW_RAMDUMP_PATTERN_MASK) == |
