Browse Source

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: 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>
Vinod Koul 10 năm trước cách đây
mục cha
commit
76ca1c2cd8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      sound/soc/intel/cht_bsw_rt5672.c

+ 2 - 0
sound/soc/intel/cht_bsw_rt5672.c

@@ -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