summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/haswell.c
diff options
context:
space:
mode:
authorRander Wang <rander.wang@linux.intel.com>2018-12-18 16:24:54 +0800
committerMark Brown <broonie@kernel.org>2019-01-03 16:32:50 +0000
commit906a9abc5de73c383af518f5a806f4be2993a0c7 (patch)
treee182acb9840934a76c863d243c7b38b0a858b323 /sound/soc/intel/boards/haswell.c
parent6cb6746e95576878835cd27f634194bbd771c3f2 (diff)
downloadlinux-stable-906a9abc5de73c383af518f5a806f4be2993a0c7.tar.gz
linux-stable-906a9abc5de73c383af518f5a806f4be2993a0c7.tar.bz2
linux-stable-906a9abc5de73c383af518f5a806f4be2993a0c7.zip
ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field
For some reason this field was set to zero when all other drivers use .dynamic = 1 for front-ends. This change was tested on Dell XPS13 and has no impact with the existing legacy driver. The SOF driver also works with this change which enables it to override the fixed topology. Signed-off-by: Rander Wang <rander.wang@linux.intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/haswell.c')
-rw-r--r--sound/soc/intel/boards/haswell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/haswell.c b/sound/soc/intel/boards/haswell.c
index eab1f439dd3f..a4022983a7ce 100644
--- a/sound/soc/intel/boards/haswell.c
+++ b/sound/soc/intel/boards/haswell.c
@@ -146,7 +146,7 @@ static struct snd_soc_dai_link haswell_rt5640_dais[] = {
.stream_name = "Loopback",
.cpu_dai_name = "Loopback Pin",
.platform_name = "haswell-pcm-audio",
- .dynamic = 0,
+ .dynamic = 1,
.codec_name = "snd-soc-dummy",
.codec_dai_name = "snd-soc-dummy-dai",
.trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},