OSDN Git Service

sh: Use modern ASoC DAI format terminology
authorMark Brown <broonie@kernel.org>
Wed, 15 Sep 2021 17:23:02 +0000 (18:23 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Oct 2021 12:19:19 +0000 (13:19 +0100)
The SH machine drivers have some ASoC DAI format specifications that use
older defines based on outdated terminology which we're trying to retire,
update to the new bindings.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210915172302.36677-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/sh/boards/mach-ecovec24/setup.c
arch/sh/boards/mach-se/7724/setup.c

index bab91a9..97c5703 100644 (file)
@@ -886,7 +886,7 @@ static struct asoc_simple_card_info fsi_da7210_info = {
        .card           = "FSIB-DA7210",
        .codec          = "da7210.0-001a",
        .platform       = "sh_fsi.0",
-       .daifmt         = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM,
+       .daifmt         = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBP_CFP,
        .cpu_dai = {
                .name   = "fsib-dai",
        },
index 8d6541b..d9b31d4 100644 (file)
@@ -305,7 +305,7 @@ static struct asoc_simple_card_info fsi_ak4642_info = {
        .card           = "FSIA-AK4642",
        .codec          = "ak4642-codec.0-0012",
        .platform       = "sh_fsi.0",
-       .daifmt         = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_CBM_CFM,
+       .daifmt         = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_CBP_CFP,
        .cpu_dai = {
                .name   = "fsia-dai",
        },