qcacmn: Remove obsolete dmac_inv_range API
Remove obsolete dmac_inv_range API, instead use qdf_mem_dma_sync_single_for_cpu API where ever required. https://www.kernel.org/doc/Documentation/DMA-API-HOWTO.txt Change-Id: I44f14e6c87c1086decc600f59f298b7b8a94bc82 CRs-Fixed: 2215678
此提交包含在:
@@ -1797,31 +1797,6 @@ __qdf_nbuf_get_priv_ptr(struct sk_buff *skb)
|
||||
return &skb->cb[8];
|
||||
}
|
||||
|
||||
/**
|
||||
* __qdf_invalidate_range() - invalidate virtual address range
|
||||
* @start: start address of the address range
|
||||
* @end: end address of the address range
|
||||
*
|
||||
* Note that this function does not write back the cache entries.
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
#ifdef MSM_PLATFORM
|
||||
static inline void __qdf_invalidate_range(void *start, void *end)
|
||||
{
|
||||
dmac_inv_range(start, end);
|
||||
}
|
||||
|
||||
#else
|
||||
static inline void __qdf_invalidate_range(void *start, void *end)
|
||||
{
|
||||
/* TODO figure out how to invalidate cache on x86 and other
|
||||
* non-MSM platform
|
||||
*/
|
||||
pr_err("Cache invalidate not yet implemneted for non-MSM platforms\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* __qdf_nbuf_mark_wakeup_frame() - mark wakeup frame.
|
||||
* @buf: Pointer to nbuf
|
||||
|
新增問題並參考
封鎖使用者