Commit 76ca1c2c authored by Vinod Koul's avatar Vinod Koul Committed by Mark Brown

ASoC: Intel: mark cht machine driver with nonatomic trigger

The DSP messages are sent with nonatomic context, which include trigger
messages, so mark the driver as nonatomic
Signed-off-by: default avatarSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 48c7699f
...@@ -216,6 +216,7 @@ static struct snd_soc_dai_link cht_dailink[] = { ...@@ -216,6 +216,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
.codec_name = "snd-soc-dummy", .codec_name = "snd-soc-dummy",
.platform_name = "sst-mfld-platform", .platform_name = "sst-mfld-platform",
.ignore_suspend = 1, .ignore_suspend = 1,
.nonatomic = true,
.dynamic = 1, .dynamic = 1,
.dpcm_playback = 1, .dpcm_playback = 1,
.dpcm_capture = 1, .dpcm_capture = 1,
...@@ -238,6 +239,7 @@ static struct snd_soc_dai_link cht_dailink[] = { ...@@ -238,6 +239,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
.cpu_dai_name = "ssp2-port", .cpu_dai_name = "ssp2-port",
.platform_name = "sst-mfld-platform", .platform_name = "sst-mfld-platform",
.no_pcm = 1, .no_pcm = 1,
.nonatomic = true,
.codec_dai_name = "rt5670-aif1", .codec_dai_name = "rt5670-aif1",
.codec_name = "i2c-10EC5670:00", .codec_name = "i2c-10EC5670:00",
.dai_fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_IB_NF .dai_fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_IB_NF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment