[PATCH v2] ASoC: atmel: Convert to new style DAI format definitions

Codrin.Ciubotariu at microchip.com Codrin.Ciubotariu at microchip.com
Thu Sep 16 09:57:33 CEST 2021


On 15.09.2021 21:10, Mark Brown wrote:
> Convert the Atmel drivers to use the new style defines for clocking in DAI
> formats.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>

Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu at microchip.com>
Thanks!

>          switch (dev->fmt & SND_SOC_DAIFMT_MASTER_MASK) {
> -       case SND_SOC_DAIFMT_CBS_CFS:
> +       case SND_SOC_DAIFMT_CBC_CFC:
>                  /* codec is slave, so cpu is master */
...
> 
> -       case SND_SOC_DAIFMT_CBM_CFM:
> +       case SND_SOC_DAIFMT_CBP_CFP:
>                  /* codec is master, so cpu is slave */

probably these comments should also be changed.


More information about the Alsa-devel mailing list