projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ace85b
)
ASoC: SOF: mediatek: Add sof_mt8186_machs for mt8186
author
Chunxu Li
<chunxu.li@mediatek.com>
Fri, 5 Aug 2022 07:04:49 +0000
(15:04 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 23 Aug 2022 17:22:43 +0000
(18:22 +0100)
Add .of_machines field sof_mt8186_machs for mt8186
Signed-off-by: Chunxu Li <chunxu.li@mediatek.com>
Link:
https://lore.kernel.org/r/20220805070449.6611-3-chunxu.li@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/mediatek/mt8186/mt8186.c
patch
|
blob
|
history
diff --git
a/sound/soc/sof/mediatek/mt8186/mt8186.c
b/sound/soc/sof/mediatek/mt8186/mt8186.c
index e006532caf2f0528da6a472aa9ddedf0e030d22b..014afe33b3d9b79fe50b4876506b2bfb8c77761b 100644
(file)
--- a/
sound/soc/sof/mediatek/mt8186/mt8186.c
+++ b/
sound/soc/sof/mediatek/mt8186/mt8186.c
@@
-515,7
+515,16
@@
static struct snd_sof_dsp_ops sof_mt8186_ops = {
SNDRV_PCM_INFO_NO_PERIOD_WAKEUP,
};
+static struct snd_sof_of_mach sof_mt8186_machs[] = {
+ {
+ .compatible = "mediatek,mt8186",
+ .sof_tplg_filename = "sof-mt8186.tplg",
+ },
+ {}
+};
+
static const struct sof_dev_desc sof_of_mt8186_desc = {
+ .of_machines = sof_mt8186_machs,
.ipc_supported_mask = BIT(SOF_IPC),
.ipc_default = SOF_IPC,
.default_fw_path = {