aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivasa Rao Mandadapu <[email protected]>2022-04-13 15:39:56 +0530
committerMark Brown <[email protected]>2022-04-19 12:04:07 +0100
commit0a8ff26dea6e9aeb11db3f1af9fc1848b7042661 (patch)
tree0b1623d1124f7412ac72ce10ab4c0a39a0f9d452
parent19aed2d6cdb72a7c92909832b9480d9cadebeef9 (diff)
ASoC: qcom: lpass-platform: Update memremap flag to MEMREMAP_WC
Update memremap flag from MEMREMAP_WT to MEMREMAP_WC for better performance. Signed-off-by: Srinivasa Rao Mandadapu <[email protected]> Co-developed-by: Venkata Prasad Potturu <[email protected]> Signed-off-by: Venkata Prasad Potturu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/qcom/lpass-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c
index 74d62f377dfd..f03a7ae49d50 100644
--- a/sound/soc/qcom/lpass-platform.c
+++ b/sound/soc/qcom/lpass-platform.c
@@ -1160,7 +1160,7 @@ static int lpass_platform_prealloc_cdc_dma_buffer(struct snd_soc_component *comp
break;
}
- buf->area = (unsigned char * __force)memremap(buf->addr, buf->bytes, MEMREMAP_WT);
+ buf->area = (unsigned char * __force)memremap(buf->addr, buf->bytes, MEMREMAP_WC);
return 0;
}