summaryrefslogtreecommitdiff
path: root/sound/soc/amd/raven/acp3x-pcm-dma.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-05-10 15:00:42 +0300
committerMark Brown <broonie@kernel.org>2021-05-10 15:00:42 +0300
commit3f0d23e849b33cb83cbd1f3ce9b7d23ad3863841 (patch)
treebc1fd2f63c89f1245642cbb746e3e2418569eec9 /sound/soc/amd/raven/acp3x-pcm-dma.c
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
parent682ae59ca2876f83396ccc5674235da99beed06c (diff)
downloadlinux-3f0d23e849b33cb83cbd1f3ce9b7d23ad3863841.tar.xz
Merge existing fixes from asoc/for-5.13
Diffstat (limited to 'sound/soc/amd/raven/acp3x-pcm-dma.c')
-rw-r--r--sound/soc/amd/raven/acp3x-pcm-dma.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/amd/raven/acp3x-pcm-dma.c b/sound/soc/amd/raven/acp3x-pcm-dma.c
index f22bb2bdf527..8148b0d22e88 100644
--- a/sound/soc/amd/raven/acp3x-pcm-dma.c
+++ b/sound/soc/amd/raven/acp3x-pcm-dma.c
@@ -235,10 +235,6 @@ static int acp3x_dma_open(struct snd_soc_component *component,
return ret;
}
- if (!adata->play_stream && !adata->capture_stream &&
- !adata->i2ssp_play_stream && !adata->i2ssp_capture_stream)
- rv_writel(1, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB);
-
i2s_data->acp3x_base = adata->acp3x_base;
runtime->private_data = i2s_data;
return ret;
@@ -365,12 +361,6 @@ static int acp3x_dma_close(struct snd_soc_component *component,
}
}
- /* Disable ACP irq, when the current stream is being closed and
- * another stream is also not active.
- */
- if (!adata->play_stream && !adata->capture_stream &&
- !adata->i2ssp_play_stream && !adata->i2ssp_capture_stream)
- rv_writel(0, adata->acp3x_base + mmACP_EXTERNAL_INTR_ENB);
return 0;
}