qcacmn: disable EXT grp irqs and drain TXRX during suspend

Any update to the SRNG TP/HP when the device is in low power
state would result in system errors. It is recommended to disable
EXT grp irqs and drain TXRX before sending power save enter command
to the FW. This will ensure that no interrupts are received while
in power save mode and as a result there wont be any HP/TP updates.

Change-Id: Ibf952bbc2c6d13fb3e4ca6b4845bc9cc887fa694
CRs-Fixed: 2883135
このコミットが含まれているのは:
Manikanta Pubbisetty
2021-03-01 13:09:21 +05:30
committed by AnjaneeDevi Kapparapu
コミット 14d38b77fb
11個のファイルの変更217行の追加5行の削除

ファイルの表示

@@ -1699,4 +1699,36 @@ static inline void hif_config_irq_set_perf_affinity_hint(
{
}
#endif
/**
* hif_apps_grp_irqs_enable() - enable ext grp irqs
* @hif - HIF opaque context
*
* Return: 0 on success. Error code on failure.
*/
int hif_apps_grp_irqs_enable(struct hif_opaque_softc *hif_ctx);
/**
* hif_apps_grp_irqs_disable() - disable ext grp irqs
* @hif - HIF opaque context
*
* Return: 0 on success. Error code on failure.
*/
int hif_apps_grp_irqs_disable(struct hif_opaque_softc *hif_ctx);
/**
* hif_disable_grp_irqs() - disable ext grp irqs
* @hif - HIF opaque context
*
* Return: 0 on success. Error code on failure.
*/
int hif_disable_grp_irqs(struct hif_opaque_softc *scn);
/**
* hif_enable_grp_irqs() - enable ext grp irqs
* @hif - HIF opaque context
*
* Return: 0 on success. Error code on failure.
*/
int hif_enable_grp_irqs(struct hif_opaque_softc *scn);
#endif /* _HIF_H_ */