From: Jaejoon Yoo Date: Mon, 24 Oct 2016 06:42:46 +0000 (+0900) Subject: dma: Modify FLUSHP instuction for DP audio. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eabf76010fbac784a3763a74830243e0f92e11de;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git dma: Modify FLUSHP instuction for DP audio. Change-Id: I353a38327e5b5265045547c6ced6c2a072f20a47 Signed-off-by: Jaejoon Yoo --- diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index ca9bd8ea49ea..dc3630dc779c 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -1219,8 +1219,9 @@ static inline int _loop_infiniteloop(struct pl330_dmac *pl330, unsigned dry_run, /* forever loop */ off += _emit_MOV(dry_run, &buf[off], SAR, pxs->desc->px.src_addr); off += _emit_MOV(dry_run, &buf[off], DAR, pxs->desc->px.dst_addr); - if (pxs->desc->rqtype != DMA_MEM_TO_MEM) - off += _emit_FLUSHP(dry_run, &buf[off], pxs->desc->peri); + + off += _emit_NOP(dry_run, &buf[off]); + off += _emit_NOP(dry_run, &buf[off]); /* loop0 */ off += _emit_LP(dry_run, &buf[off], 0, lcnt0);