aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/cht_bsw_rt5672.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-02-12 09:59:54 +0530
committerMark Brown <broonie@kernel.org>2015-02-24 00:43:59 +0900
commit76ca1c2cd8fc0b8764c6360263e2fbca43495ab2 (patch)
tree0a9847ee4d01e9ff5a005defb55c3de911955427 /sound/soc/intel/cht_bsw_rt5672.c
parentASoC: core: allow pcms to be registered as nonatomic (diff)
downloadlinux-dev-76ca1c2cd8fc0b8764c6360263e2fbca43495ab2.tar.xz
linux-dev-76ca1c2cd8fc0b8764c6360263e2fbca43495ab2.zip
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>
Diffstat (limited to 'sound/soc/intel/cht_bsw_rt5672.c')
-rw-r--r--sound/soc/intel/cht_bsw_rt5672.c2
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[] = {
.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