mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacmn: Disable fastpath for srng rings
Reject fastpath enable for srng based chips. Change-Id: If1f3be9cb92a7620b27e040aa6da4b18ed4d19f7 CRs-Fixed: 1104685
This commit is contained in:
parent
2dbfd29a90
commit
d63cd7430c
1 changed files with 4 additions and 0 deletions
|
|
@ -962,6 +962,10 @@ void hif_enable_fastpath(struct hif_opaque_softc *hif_ctx)
|
|||
{
|
||||
struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx);
|
||||
|
||||
if (ce_srng_based(scn)) {
|
||||
HIF_INFO("%s, srng rings do not support fastpath", __func__);
|
||||
return;
|
||||
}
|
||||
HIF_INFO("%s, Enabling fastpath mode", __func__);
|
||||
scn->fastpath_mode_on = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue