ASoC: Intel: cht_bsw_nau8824: Change SSP2-Codec DAI id to 0
authorHans de Goede <hdegoede@redhat.com>
Sun, 6 Dec 2020 12:24:36 +0000 (13:24 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 8 Dec 2020 14:20:33 +0000 (14:20 +0000)
The snd-soc-sst-acpi driver does not care about the id specified for
the SSP2-Codec DAI, but it does matter for the snd-sof-acpi driver;
and when it is not 0 then the snd-sof-acpi driver does not work.

Set the SSP2-Codec DAI id to 0, fixing the snd-sof-acpi driver not
working on devices using the cht_bsw_nau8824 machine-driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20201206122436.13553-3-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_nau8824.c

index ac78173d01ecb4a33966768f2fff17f7a02e918b..fd5e25ca05f7f1f0582315d5391c5f73b287622f 100644 (file)
@@ -210,7 +210,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
        {
                /* SSP2 - Codec */
                .name = "SSP2-Codec",
-               .id = 1,
+               .id = 0,
                .no_pcm = 1,
                .dai_fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_IB_NF
                        | SND_SOC_DAIFMT_CBS_CFS,