diff mbox series

[v2,3/5] ASoC: atmel: use use new trigger ordering method

Message ID 87o7lqfnzb.wl-kuninori.morimoto.gx@renesas.com
State Superseded
Headers show
Series ASoC: add new trigger ordering method | expand

Commit Message

Kuninori Morimoto June 8, 2023, 6:48 a.m. UTC
ASoC is now supporting generic trigger ordering method.
This patch switch to use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 sound/soc/atmel/mchp-pdmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Claudiu Beznea June 9, 2023, 9:03 a.m. UTC | #1
On 08.06.2023 09:48, Kuninori Morimoto wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> ASoC is now supporting generic trigger ordering method.
> This patch switch to use it.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com>

> ---
>  sound/soc/atmel/mchp-pdmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/atmel/mchp-pdmc.c b/sound/soc/atmel/mchp-pdmc.c
> index da23855a0e40..c79c73e6791e 100644
> --- a/sound/soc/atmel/mchp-pdmc.c
> +++ b/sound/soc/atmel/mchp-pdmc.c
> @@ -423,7 +423,7 @@ static const struct snd_soc_component_driver mchp_pdmc_dai_component = {
>         .open = &mchp_pdmc_open,
>         .close = &mchp_pdmc_close,
>         .legacy_dai_naming = 1,
> -       .start_dma_last = 1,
> +       .trigger_start = SND_SOC_TRIGGER_ORDER_LDC,
>  };
> 
>  static const unsigned int mchp_pdmc_1mic[] = {1};
> --
> 2.25.1
>
diff mbox series

Patch

diff --git a/sound/soc/atmel/mchp-pdmc.c b/sound/soc/atmel/mchp-pdmc.c
index da23855a0e40..c79c73e6791e 100644
--- a/sound/soc/atmel/mchp-pdmc.c
+++ b/sound/soc/atmel/mchp-pdmc.c
@@ -423,7 +423,7 @@  static const struct snd_soc_component_driver mchp_pdmc_dai_component = {
 	.open = &mchp_pdmc_open,
 	.close = &mchp_pdmc_close,
 	.legacy_dai_naming = 1,
-	.start_dma_last = 1,
+	.trigger_start = SND_SOC_TRIGGER_ORDER_LDC,
 };
 
 static const unsigned int mchp_pdmc_1mic[] = {1};