summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd/raven/acp3x-pcm-dma.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-05-10 14:00:42 +0200
committerMark Brown <broonie@kernel.org>2021-05-10 14:00:42 +0200
commit3f0d23e849b33cb83cbd1f3ce9b7d23ad3863841 (patch)
treebc1fd2f63c89f1245642cbb746e3e2418569eec9 /sound/soc/amd/raven/acp3x-pcm-dma.c
parentLinux 5.13-rc1 (diff)
parentASoC: rt711-sdca: fix the function number of SDCA control for feature unit 0x1E (diff)
downloadlinux-3f0d23e849b33cb83cbd1f3ce9b7d23ad3863841.tar.xz
linux-3f0d23e849b33cb83cbd1f3ce9b7d23ad3863841.zip
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;
}