ASoC: Intel: boards: remove .nonatomic for BE dailinks
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 5 May 2021 16:37:00 +0000 (11:37 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 10 May 2021 12:04:21 +0000 (13:04 +0100)
Somehow with copy/paste and inertia we keep re-adding this field for
BE dailinks, when it's only required for hard-coded FE links.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210505163705.305616-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
14 files changed:
sound/soc/intel/boards/bytcht_cx2072x.c
sound/soc/intel/boards/bytcht_da7213.c
sound/soc/intel/boards/bytcht_es8316.c
sound/soc/intel/boards/bytcht_nocodec.c
sound/soc/intel/boards/bytcr_rt5640.c
sound/soc/intel/boards/bytcr_rt5651.c
sound/soc/intel/boards/bytcr_wm5102.c
sound/soc/intel/boards/cht_bsw_rt5645.c
sound/soc/intel/boards/cht_bsw_rt5672.c
sound/soc/intel/boards/ehl_rt5660.c
sound/soc/intel/boards/sof_pcm512x.c
sound/soc/intel/boards/sof_rt5682.c
sound/soc/intel/boards/sof_sdw.c
sound/soc/intel/boards/sof_wm8804.c

index 2bfe3e4c696fd1a218ae239f65e8dee64045a4eb..a9e51bbf018c35938be1a7d57675098f02079231 100644 (file)
@@ -198,7 +198,6 @@ static struct snd_soc_dai_link byt_cht_cx2072x_dais[] = {
                                              | SND_SOC_DAIFMT_CBS_CFS,
                .init = byt_cht_cx2072x_init,
                .be_hw_params_fixup = byt_cht_cx2072x_fixup,
-               .nonatomic = true,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                SND_SOC_DAILINK_REG(ssp2, cx2072x, platform),
index cfeba27252ba58e0b9565a1172e9708d2316136b..a28773fb7892b540d9d2ad6ed131465029d148b1 100644 (file)
@@ -197,7 +197,6 @@ static struct snd_soc_dai_link dailink[] = {
                .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
                                                | SND_SOC_DAIFMT_CBS_CFS,
                .be_hw_params_fixup = codec_fixup,
-               .nonatomic = true,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                .ops = &ssp2_ops,
index 06df2d46d910bcadaa48874d9f9870b53959b588..a0af91580184ba1aa37e013c0135e1c937e1d949 100644 (file)
@@ -337,7 +337,6 @@ static struct snd_soc_dai_link byt_cht_es8316_dais[] = {
                .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
                                                | SND_SOC_DAIFMT_CBS_CFS,
                .be_hw_params_fixup = byt_cht_es8316_codec_fixup,
-               .nonatomic = true,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                .init = byt_cht_es8316_init,
index 8c0dab1f40308b1ba8538c40269a923898ba9e65..9b48fe701a2cd642f53bb4f1995e8d36e2a519ba 100644 (file)
@@ -144,7 +144,6 @@ static struct snd_soc_dai_link dais[] = {
                                                | SND_SOC_DAIFMT_CBS_CFS,
                .be_hw_params_fixup = codec_fixup,
                .ignore_suspend = 1,
-               .nonatomic = true,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                SND_SOC_DAILINK_REG(ssp2_port, dummy, platform),
index df2f5d55e8ffec9d1501bdb4ff8ea97bcadd115e..240cb4337dee292e39688f0e843f958ab10c2482 100644 (file)
@@ -1180,7 +1180,6 @@ static struct snd_soc_dai_link byt_rt5640_dais[] = {
                .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
                                                | SND_SOC_DAIFMT_CBS_CFS,
                .be_hw_params_fixup = byt_rt5640_codec_fixup,
-               .nonatomic = true,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                .init = byt_rt5640_init,
index 148b7b1bd3e8c0a66ec08e957b3db4a80e6c32b7..e13c0c63a9495d01cb2608ab10ab3a9c67dd32ec 100644 (file)
@@ -786,7 +786,6 @@ static struct snd_soc_dai_link byt_rt5651_dais[] = {
                .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
                                                | SND_SOC_DAIFMT_CBS_CFS,
                .be_hw_params_fixup = byt_rt5651_codec_fixup,
-               .nonatomic = true,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                .init = byt_rt5651_init,
index 8d8ab9be256f06fa26d71b24f2f19f9d4d57bf61..580d5fddae5ada0f5d7557e42a32f849721b8deb 100644 (file)
@@ -351,7 +351,6 @@ static struct snd_soc_dai_link byt_wm5102_dais[] = {
                .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF
                                                | SND_SOC_DAIFMT_CBS_CFS,
                .be_hw_params_fixup = byt_wm5102_codec_fixup,
-               .nonatomic = true,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                .init = byt_wm5102_init,
index 6fea554cfed572bb4966bcb0b6c7a5add9ddbeff..804dbc7911d5049cc944e811c4d723cd5edffcab 100644 (file)
@@ -471,7 +471,6 @@ static struct snd_soc_dai_link cht_dailink[] = {
                .no_pcm = 1,
                .init = cht_codec_init,
                .be_hw_params_fixup = cht_codec_fixup,
-               .nonatomic = true,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                .ops = &cht_be_ssp2_ops,
index e358632f50d75ee4ab527c4f6b8cc28e0874baf7..9509b6e161b891c0044ff75789ddbdc7e9825c66 100644 (file)
@@ -375,7 +375,6 @@ static struct snd_soc_dai_link cht_dailink[] = {
                .name = "SSP2-Codec",
                .id = 0,
                .no_pcm = 1,
-               .nonatomic = true,
                .init = cht_codec_init,
                .be_hw_params_fixup = cht_codec_fixup,
                .dpcm_playback = 1,
index b9b72d05b33586259f393dbee40bd071f4713379..00773d17d5781f8e82cc74235fbbbf9ec3f430f2 100644 (file)
@@ -181,7 +181,6 @@ static struct snd_soc_dai_link ehl_rt5660_dailink[] = {
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                .ops = &rt5660_ops,
-               .nonatomic = true,
                SND_SOC_DAILINK_REG(ssp0_pin, rt5660_codec, platform),
        },
        {
index 8620d4f38493a412d417bc94f03705a893f0cde0..2ec9c62366e2ea2bd97579e10819cd7b53609abf 100644 (file)
@@ -241,7 +241,6 @@ static struct snd_soc_dai_link *sof_card_dai_links_create(struct device *dev,
        links[id].num_platforms = ARRAY_SIZE(platform_component);
        links[id].init = sof_pcm512x_codec_init;
        links[id].ops = &sof_pcm512x_ops;
-       links[id].nonatomic = true;
        links[id].dpcm_playback = 1;
        /*
         * capture only supported with specific versions of the Hifiberry DAC+
index ee56a95895db7476b2be4b28c4b40fe6727f7507..7eecfe1b4404ed5352d711c24eb60641be9aa324 100644 (file)
@@ -637,7 +637,6 @@ static struct snd_soc_dai_link *sof_card_dai_links_create(struct device *dev,
        links[id].init = sof_rt5682_codec_init;
        links[id].exit = sof_rt5682_codec_exit;
        links[id].ops = &sof_rt5682_ops;
-       links[id].nonatomic = true;
        links[id].dpcm_playback = 1;
        links[id].dpcm_capture = 1;
        links[id].no_pcm = 1;
@@ -775,7 +774,6 @@ static struct snd_soc_dai_link *sof_card_dai_links_create(struct device *dev,
                }
                links[id].platforms = platform_component;
                links[id].num_platforms = ARRAY_SIZE(platform_component);
-               links[id].nonatomic = true;
                links[id].dpcm_playback = 1;
                links[id].no_pcm = 1;
                links[id].cpus = &cpus[id];
index 9b32d729cc72a837203dc6fe3966a033c47ee21b..608ae3c93aaee0f7605f47e1566c1de272b92d8d 100644 (file)
@@ -505,7 +505,6 @@ static void init_dai_link(struct device *dev, struct snd_soc_dai_link *dai_links
        dai_links->name = name;
        dai_links->platforms = platform_component;
        dai_links->num_platforms = ARRAY_SIZE(platform_component);
-       dai_links->nonatomic = true;
        dai_links->no_pcm = 1;
        dai_links->cpus = cpus;
        dai_links->num_cpus = cpus_num;
index 6a181e45143d75956f4616e85619eeab804a7bf1..54395e2ededc7b2365101e5aa86212eb8a224901 100644 (file)
@@ -167,7 +167,6 @@ static struct snd_soc_dai_link dailink[] = {
                .name = "SSP5-Codec",
                .id = 0,
                .no_pcm = 1,
-               .nonatomic = true,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
                .ops = &sof_wm8804_ops,