qcacmn: skip bmi for srng based chips

SRNG based chips will use MHI based firmware download

Change-Id: I4125578a33315011075677a0ea7e4b48c914037f
CRs-Fixed: 1089874
This commit is contained in:
Houston Hoffman
2016-09-27 18:05:39 -07:00
committed by Gerrit - the friendly Code Review server
parent 31b25ecbea
commit 6c0c3f95fa

View File

@@ -750,13 +750,8 @@ bool hif_needs_bmi(struct hif_opaque_softc *hif_ctx)
{
struct hif_softc *hif_sc = HIF_GET_SOFTC(hif_ctx);
if (hif_sc->bus_type == QDF_BUS_TYPE_SNOC)
return false;
if (hif_sc->target_info.target_type == TARGET_TYPE_QCA8074)
return false;
return true;
return (hif_sc->bus_type != QDF_BUS_TYPE_SNOC) &&
!ce_srng_based(hif_sc);
}
/**