Skip to content

Commit 9eb2b4c

Browse files
ranj063broonie
authored andcommitted
ASoC: SOF: Intel: HDA: Fix device description
Add the missing ops_free callback for APL/CNL/CML/JSL/TGL/EHL platforms. Fixes: 1da5194 ("ASoC: SOF: Intel: hda: init NHLT for IPC4") Signed-off-by: Ranjani Sridharan <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Bard Liao <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent a659e35 commit 9eb2b4c

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

sound/soc/sof/intel/pci-apl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ static const struct sof_dev_desc glk_desc = {
7878
.nocodec_tplg_filename = "sof-glk-nocodec.tplg",
7979
.ops = &sof_apl_ops,
8080
.ops_init = sof_apl_ops_init,
81+
.ops_free = hda_ops_free,
8182
};
8283

8384
/* PCI IDs */

sound/soc/sof/intel/pci-cnl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ static const struct sof_dev_desc cnl_desc = {
4848
.nocodec_tplg_filename = "sof-cnl-nocodec.tplg",
4949
.ops = &sof_cnl_ops,
5050
.ops_init = sof_cnl_ops_init,
51+
.ops_free = hda_ops_free,
5152
};
5253

5354
static const struct sof_dev_desc cfl_desc = {
@@ -111,6 +112,7 @@ static const struct sof_dev_desc cml_desc = {
111112
.nocodec_tplg_filename = "sof-cnl-nocodec.tplg",
112113
.ops = &sof_cnl_ops,
113114
.ops_init = sof_cnl_ops_init,
115+
.ops_free = hda_ops_free,
114116
};
115117

116118
/* PCI IDs */

sound/soc/sof/intel/pci-icl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ static const struct sof_dev_desc jsl_desc = {
7979
.nocodec_tplg_filename = "sof-jsl-nocodec.tplg",
8080
.ops = &sof_cnl_ops,
8181
.ops_init = sof_cnl_ops_init,
82+
.ops_free = hda_ops_free,
8283
};
8384

8485
/* PCI IDs */

sound/soc/sof/intel/pci-tgl.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ static const struct sof_dev_desc tgl_desc = {
4848
.nocodec_tplg_filename = "sof-tgl-nocodec.tplg",
4949
.ops = &sof_tgl_ops,
5050
.ops_init = sof_tgl_ops_init,
51+
.ops_free = hda_ops_free,
5152
};
5253

5354
static const struct sof_dev_desc tglh_desc = {
@@ -110,6 +111,7 @@ static const struct sof_dev_desc ehl_desc = {
110111
.nocodec_tplg_filename = "sof-ehl-nocodec.tplg",
111112
.ops = &sof_tgl_ops,
112113
.ops_init = sof_tgl_ops_init,
114+
.ops_free = hda_ops_free,
113115
};
114116

115117
static const struct sof_dev_desc adls_desc = {
@@ -141,6 +143,7 @@ static const struct sof_dev_desc adls_desc = {
141143
.nocodec_tplg_filename = "sof-adl-nocodec.tplg",
142144
.ops = &sof_tgl_ops,
143145
.ops_init = sof_tgl_ops_init,
146+
.ops_free = hda_ops_free,
144147
};
145148

146149
static const struct sof_dev_desc adl_desc = {
@@ -172,6 +175,7 @@ static const struct sof_dev_desc adl_desc = {
172175
.nocodec_tplg_filename = "sof-adl-nocodec.tplg",
173176
.ops = &sof_tgl_ops,
174177
.ops_init = sof_tgl_ops_init,
178+
.ops_free = hda_ops_free,
175179
};
176180

177181
static const struct sof_dev_desc adl_n_desc = {
@@ -203,6 +207,7 @@ static const struct sof_dev_desc adl_n_desc = {
203207
.nocodec_tplg_filename = "sof-adl-nocodec.tplg",
204208
.ops = &sof_tgl_ops,
205209
.ops_init = sof_tgl_ops_init,
210+
.ops_free = hda_ops_free,
206211
};
207212

208213
static const struct sof_dev_desc rpls_desc = {

0 commit comments

Comments
 (0)