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:
Lin Bai 2018-05-15 13:27:55 +08:00 • committed by nshrivas
commit e2137870de

View file

@ -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)