summaryrefslogtreecommitdiffstats
path: root/sound/hda/ext/hdac_ext_bus.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-05-13 14:26:22 +0100
committerMark Brown <broonie@kernel.org>2016-05-13 14:26:22 +0100
commitc988e26130132813e3550a7b97ab2ed2ae0455eb (patch)
tree9259bd3e05c9a3f607051501ece7c252785f2e22 /sound/hda/ext/hdac_ext_bus.c
parent35302156ea791f96bdc7e0ca3c44cb25341fbcb1 (diff)
parentb2047e996cd88d36eb0f4e84fe6aedab831a4b31 (diff)
downloadlinux-c988e26130132813e3550a7b97ab2ed2ae0455eb.tar.bz2
Merge remote-tracking branch 'asoc/topic/intel' into asoc-next
Diffstat (limited to 'sound/hda/ext/hdac_ext_bus.c')
-rw-r--r--sound/hda/ext/hdac_ext_bus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/hda/ext/hdac_ext_bus.c b/sound/hda/ext/hdac_ext_bus.c
index 2433f7c81472..3b7ae24900fd 100644
--- a/sound/hda/ext/hdac_ext_bus.c
+++ b/sound/hda/ext/hdac_ext_bus.c
@@ -105,6 +105,9 @@ int snd_hdac_ext_bus_init(struct hdac_ext_bus *ebus, struct device *dev,
INIT_LIST_HEAD(&ebus->hlink_list);
ebus->idx = idx++;
+ mutex_init(&ebus->lock);
+ ebus->cmd_dma_state = true;
+
return 0;
}
EXPORT_SYMBOL_GPL(snd_hdac_ext_bus_init);