qcacmn: Add support to register hif recovery notifier

Add support to register hif recovery notifier to log
hang event data.

Change-Id: I7e7ce2bacc88f00e68c2c347c3a578f377f8214f
CRs-Fixed: 2649147
This commit is contained in:
Yeshwanth Sriram Guntuka
2020-03-27 14:42:44 +05:30
committed by nshrivas
parent 1167fc9bd4
commit 8cf020f44a
4 changed files with 98 additions and 5 deletions

View File

@@ -1356,17 +1356,17 @@ void hif_srng_init_phase(struct hif_opaque_softc *hif_ctx,
#ifdef HIF_CE_LOG_INFO
/**
* hif_log_ce_info() - API to log ce info
* @hif_ctx: hif opaque handle
* @scn: hif handle
* @data: hang event data buffer
* @offset: offset at which data needs to be written
*
* Return: None
*/
void hif_log_ce_info(struct hif_opaque_softc *hif_ctx, uint8_t *data,
void hif_log_ce_info(struct hif_softc *scn, uint8_t *data,
unsigned int *offset);
#else
static inline
void hif_log_ce_info(struct hif_opaque_softc *hif_ctx, uint8_t *data,
void hif_log_ce_info(struct hif_softc *scn, uint8_t *data,
unsigned int *offset)
{
}