qcacmn: Use right macro to enable delayed register writes

Fix macro name to enable delayed register writes.
Donot use delayed register writes for non fastpath access.

Change-Id: I235116ab3df5cb26bbfbb72de4ac6ed4b363a13a
CRs-Fixed: 2645865
This commit is contained in:
Mohit Khanna
2020-03-18 23:55:42 -07:00
committed by nshrivas
parent 99e3c8b80e
commit db3f6a4b8c
2 changed files with 2 additions and 7 deletions

View File

@@ -417,6 +417,7 @@ void hal_write_address_32_mb(struct hal_soc *hal_soc,
hal_write32_mb(hal_soc, offset, value);
}
#ifdef DP_HAL_MULTIWINDOW_DIRECT_ACCESS
static inline void hal_srng_write_address_32_mb(struct hal_soc *hal_soc,
struct hal_srng *srng,
@@ -425,7 +426,7 @@ static inline void hal_srng_write_address_32_mb(struct hal_soc *hal_soc,
{
qdf_iowrite32(addr, value);
}
#elif defined(FEATURE_HAL_DELAYED_WRITE)
#elif defined(FEATURE_HAL_DELAYED_REG_WRITE)
static inline void hal_srng_write_address_32_mb(struct hal_soc *hal_soc,
struct hal_srng *srng,
void __iomem *addr,