mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 04:59:05 -04:00
qcacmn: print the value of register fw_indicator
For legacy PCIe chip like Rome, FW will use register 'fw_indicator' to indicate more info, when failure occurs. Here to print its value for debug purpose. CRs-Fixed: 2242094 Change-Id: I9037dc29091ec5d7571414bb9e135dfaaf0f6dd9
This commit is contained in:
parent
1c6bb03362
commit
e2137870de
1 changed files with 6 additions and 2 deletions
|
|
@ -3494,10 +3494,14 @@ irqreturn_t hif_fw_interrupt_handler(int irq, void *arg)
|
|||
/*
|
||||
* Probable Target failure before we're prepared
|
||||
* to handle it. Generally unexpected.
|
||||
* fw_indicator used as bitmap, and defined as below:
|
||||
* FW_IND_EVENT_PENDING 0x1
|
||||
* FW_IND_INITIALIZED 0x2
|
||||
* FW_IND_NEEDRECOVER 0x4
|
||||
*/
|
||||
AR_DEBUG_PRINTF(ATH_DEBUG_ERR,
|
||||
("%s: Early firmware event indicated\n",
|
||||
__func__));
|
||||
("%s: Early firmware event indicated 0x%x\n",
|
||||
__func__, fw_indicator));
|
||||
}
|
||||
} else {
|
||||
if (Q_TARGET_ACCESS_END(scn) < 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue