* [PATCH] ASoC: amd: enable stop_dma_first flag for cz_dai_7219_98357 dai link
@ 2021-07-22 13:03 ` Vijendar Mukunda
0 siblings, 0 replies; 4+ messages in thread
From: Vijendar Mukunda @ 2021-07-22 13:03 UTC (permalink / raw)
To: broonie, alsa-devel
Cc: Alexander.Deucher, Sunil-kumar.Dommati, Basavaraj.Hiregoudar,
amistry, nartemiev, Vijendar Mukunda, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, Chuhong Yuan, Kuninori Morimoto,
open list
DMA driver stop sequence should be invoked first before invoking I2S
controller driver stop sequence for Stoneyridge platform.
Enable stop_dma_first flag for cz_dai_7219_98357 dai link structure.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
---
sound/soc/amd/acp-da7219-max98357a.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c
index 9449fb40a956..3c60c5f96dcb 100644
--- a/sound/soc/amd/acp-da7219-max98357a.c
+++ b/sound/soc/amd/acp-da7219-max98357a.c
@@ -525,6 +525,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
| SND_SOC_DAIFMT_CBM_CFM,
.init = cz_da7219_init,
.dpcm_playback = 1,
+ .stop_dma_first = 1,
.ops = &cz_da7219_play_ops,
SND_SOC_DAILINK_REG(designware1, dlgs, platform),
},
@@ -534,6 +535,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
| SND_SOC_DAIFMT_CBM_CFM,
.dpcm_capture = 1,
+ .stop_dma_first = 1,
.ops = &cz_da7219_cap_ops,
SND_SOC_DAILINK_REG(designware2, dlgs, platform),
},
@@ -543,6 +545,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
| SND_SOC_DAIFMT_CBM_CFM,
.dpcm_playback = 1,
+ .stop_dma_first = 1,
.ops = &cz_max_play_ops,
SND_SOC_DAILINK_REG(designware3, mx, platform),
},
@@ -553,6 +556,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
| SND_SOC_DAIFMT_CBM_CFM,
.dpcm_capture = 1,
+ .stop_dma_first = 1,
.ops = &cz_dmic0_cap_ops,
SND_SOC_DAILINK_REG(designware3, adau, platform),
},
@@ -563,6 +567,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
| SND_SOC_DAIFMT_CBM_CFM,
.dpcm_capture = 1,
+ .stop_dma_first = 1,
.ops = &cz_dmic1_cap_ops,
SND_SOC_DAILINK_REG(designware2, adau, platform),
},
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ASoC: amd: enable stop_dma_first flag for cz_dai_7219_98357 dai link
@ 2021-07-22 13:03 ` Vijendar Mukunda
0 siblings, 0 replies; 4+ messages in thread
From: Vijendar Mukunda @ 2021-07-22 13:03 UTC (permalink / raw)
To: broonie, alsa-devel
Cc: Sunil-kumar.Dommati, amistry, Kuninori Morimoto, open list,
Basavaraj.Hiregoudar, Takashi Iwai, Chuhong Yuan, Liam Girdwood,
Vijendar Mukunda, Alexander.Deucher, nartemiev
DMA driver stop sequence should be invoked first before invoking I2S
controller driver stop sequence for Stoneyridge platform.
Enable stop_dma_first flag for cz_dai_7219_98357 dai link structure.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
---
sound/soc/amd/acp-da7219-max98357a.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c
index 9449fb40a956..3c60c5f96dcb 100644
--- a/sound/soc/amd/acp-da7219-max98357a.c
+++ b/sound/soc/amd/acp-da7219-max98357a.c
@@ -525,6 +525,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
| SND_SOC_DAIFMT_CBM_CFM,
.init = cz_da7219_init,
.dpcm_playback = 1,
+ .stop_dma_first = 1,
.ops = &cz_da7219_play_ops,
SND_SOC_DAILINK_REG(designware1, dlgs, platform),
},
@@ -534,6 +535,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
| SND_SOC_DAIFMT_CBM_CFM,
.dpcm_capture = 1,
+ .stop_dma_first = 1,
.ops = &cz_da7219_cap_ops,
SND_SOC_DAILINK_REG(designware2, dlgs, platform),
},
@@ -543,6 +545,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
| SND_SOC_DAIFMT_CBM_CFM,
.dpcm_playback = 1,
+ .stop_dma_first = 1,
.ops = &cz_max_play_ops,
SND_SOC_DAILINK_REG(designware3, mx, platform),
},
@@ -553,6 +556,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
| SND_SOC_DAIFMT_CBM_CFM,
.dpcm_capture = 1,
+ .stop_dma_first = 1,
.ops = &cz_dmic0_cap_ops,
SND_SOC_DAILINK_REG(designware3, adau, platform),
},
@@ -563,6 +567,7 @@ static struct snd_soc_dai_link cz_dai_7219_98357[] = {
.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
| SND_SOC_DAIFMT_CBM_CFM,
.dpcm_capture = 1,
+ .stop_dma_first = 1,
.ops = &cz_dmic1_cap_ops,
SND_SOC_DAILINK_REG(designware2, adau, platform),
},
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: amd: enable stop_dma_first flag for cz_dai_7219_98357 dai link
2021-07-22 13:03 ` Vijendar Mukunda
@ 2021-07-22 17:10 ` Mark Brown
-1 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2021-07-22 17:10 UTC (permalink / raw)
To: alsa-devel, Vijendar Mukunda
Cc: Mark Brown, Basavaraj.Hiregoudar, Sunil-kumar.Dommati, amistry,
Alexander.Deucher, Liam Girdwood, nartemiev, Kuninori Morimoto,
open list, Jaroslav Kysela, Takashi Iwai, Chuhong Yuan
On Thu, 22 Jul 2021 18:33:15 +0530, Vijendar Mukunda wrote:
> DMA driver stop sequence should be invoked first before invoking I2S
> controller driver stop sequence for Stoneyridge platform.
>
> Enable stop_dma_first flag for cz_dai_7219_98357 dai link structure.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: amd: enable stop_dma_first flag for cz_dai_7219_98357 dai link
commit: 5434d0dc56bce4510109a431a7eb71ec5131ef0f
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: amd: enable stop_dma_first flag for cz_dai_7219_98357 dai link
@ 2021-07-22 17:10 ` Mark Brown
0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2021-07-22 17:10 UTC (permalink / raw)
To: alsa-devel, Vijendar Mukunda
Cc: Sunil-kumar.Dommati, amistry, Kuninori Morimoto,
Basavaraj.Hiregoudar, Takashi Iwai, Chuhong Yuan, Liam Girdwood,
open list, Mark Brown, Alexander.Deucher, nartemiev
On Thu, 22 Jul 2021 18:33:15 +0530, Vijendar Mukunda wrote:
> DMA driver stop sequence should be invoked first before invoking I2S
> controller driver stop sequence for Stoneyridge platform.
>
> Enable stop_dma_first flag for cz_dai_7219_98357 dai link structure.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: amd: enable stop_dma_first flag for cz_dai_7219_98357 dai link
commit: 5434d0dc56bce4510109a431a7eb71ec5131ef0f
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-22 17:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22 13:03 [PATCH] ASoC: amd: enable stop_dma_first flag for cz_dai_7219_98357 dai link Vijendar Mukunda
2021-07-22 13:03 ` Vijendar Mukunda
2021-07-22 17:10 ` Mark Brown
2021-07-22 17:10 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.