ASoC: Intel: mark cht machine driver with nonatomic trigger
authorVinod Koul <vinod.koul@intel.com>
Thu, 12 Feb 2015 04:29:54 +0000 (09:59 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 23 Feb 2015 15:43:59 +0000 (00:43 +0900)
The DSP messages are sent with nonatomic context, which include trigger
messages, so mark the driver as nonatomic

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/cht_bsw_rt5672.c

index c56f9dfe2129dc3ec4fb347f78f5c38a7a3143e5..a5098d6f988be51f8c3653b39f8d088d3b96d113 100644 (file)
@@ -216,6 +216,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
                .codec_name = "snd-soc-dummy",
                .platform_name = "sst-mfld-platform",
                .ignore_suspend = 1,
+               .nonatomic = true,
                .dynamic = 1,
                .dpcm_playback = 1,
                .dpcm_capture = 1,
@@ -238,6 +239,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
                .cpu_dai_name = "ssp2-port",
                .platform_name = "sst-mfld-platform",
                .no_pcm = 1,
+               .nonatomic = true,
                .codec_dai_name = "rt5670-aif1",
                .codec_name = "i2c-10EC5670:00",
                .dai_fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_IB_NF