diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-02-11 23:29:54 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-23 10:43:59 -0500 |
commit | 76ca1c2cd8fc0b8764c6360263e2fbca43495ab2 (patch) | |
tree | 0a9847ee4d01e9ff5a005defb55c3de911955427 | |
parent | 48c7699fb2c799d084ce490bceea14fe04ad12a1 (diff) |
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>
-rw-r--r-- | sound/soc/intel/cht_bsw_rt5672.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/cht_bsw_rt5672.c b/sound/soc/intel/cht_bsw_rt5672.c index c56f9dfe2129..a5098d6f988b 100644 --- a/sound/soc/intel/cht_bsw_rt5672.c +++ b/sound/soc/intel/cht_bsw_rt5672.c | |||
@@ -216,6 +216,7 @@ static struct snd_soc_dai_link cht_dailink[] = { | |||
216 | .codec_name = "snd-soc-dummy", | 216 | .codec_name = "snd-soc-dummy", |
217 | .platform_name = "sst-mfld-platform", | 217 | .platform_name = "sst-mfld-platform", |
218 | .ignore_suspend = 1, | 218 | .ignore_suspend = 1, |
219 | .nonatomic = true, | ||
219 | .dynamic = 1, | 220 | .dynamic = 1, |
220 | .dpcm_playback = 1, | 221 | .dpcm_playback = 1, |
221 | .dpcm_capture = 1, | 222 | .dpcm_capture = 1, |
@@ -238,6 +239,7 @@ static struct snd_soc_dai_link cht_dailink[] = { | |||
238 | .cpu_dai_name = "ssp2-port", | 239 | .cpu_dai_name = "ssp2-port", |
239 | .platform_name = "sst-mfld-platform", | 240 | .platform_name = "sst-mfld-platform", |
240 | .no_pcm = 1, | 241 | .no_pcm = 1, |
242 | .nonatomic = true, | ||
241 | .codec_dai_name = "rt5670-aif1", | 243 | .codec_dai_name = "rt5670-aif1", |
242 | .codec_name = "i2c-10EC5670:00", | 244 | .codec_name = "i2c-10EC5670:00", |
243 | .dai_fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_IB_NF | 245 | .dai_fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_IB_NF |