Loading arch/arm64/mm/dma-mapping.c +3 −3 Original line number Diff line number Diff line Loading @@ -41,10 +41,10 @@ EXPORT_SYMBOL(dma_ops); static pgprot_t __get_dma_pgprot(struct dma_attrs *attrs, pgprot_t prot, bool coherent) { if (!coherent || dma_get_attr(DMA_ATTR_WRITE_COMBINE, attrs)) return pgprot_writecombine(prot); else if (dma_get_attr(DMA_ATTR_STRONGLY_ORDERED, attrs)) if (dma_get_attr(DMA_ATTR_STRONGLY_ORDERED, attrs)) return pgprot_noncached(prot); else if (!coherent || dma_get_attr(DMA_ATTR_WRITE_COMBINE, attrs)) return pgprot_writecombine(prot); return prot; } Loading Loading
arch/arm64/mm/dma-mapping.c +3 −3 Original line number Diff line number Diff line Loading @@ -41,10 +41,10 @@ EXPORT_SYMBOL(dma_ops); static pgprot_t __get_dma_pgprot(struct dma_attrs *attrs, pgprot_t prot, bool coherent) { if (!coherent || dma_get_attr(DMA_ATTR_WRITE_COMBINE, attrs)) return pgprot_writecombine(prot); else if (dma_get_attr(DMA_ATTR_STRONGLY_ORDERED, attrs)) if (dma_get_attr(DMA_ATTR_STRONGLY_ORDERED, attrs)) return pgprot_noncached(prot); else if (!coherent || dma_get_attr(DMA_ATTR_WRITE_COMBINE, attrs)) return pgprot_writecombine(prot); return prot; } Loading