Skip to content

Commit f4e4113

Browse files
ranj063broonie
authored andcommitted
ASoC: SOF: remove nocodec_fw_filename
Remove nocodec_fw_filename from struct sof_dev_desc as it is not longer needed. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191204211556.12671-12-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 285880a commit f4e4113

4 files changed

Lines changed: 0 additions & 17 deletions

File tree

‎include/sound/sof.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ struct sof_dev_desc {
8484
const void *chip_info;
8585

8686
/* defaults for no codec mode */
87-
const char *nocodec_fw_filename;
8887
const char *nocodec_tplg_filename;
8988

9089
/* defaults paths for firmware and topology files */

‎sound/soc/sof/sof-acpi-dev.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ static const struct sof_dev_desc sof_acpi_haswell_desc = {
4646
.default_fw_path = "intel/sof",
4747
.default_tplg_path = "intel/sof-tplg",
4848
.default_fw_filename = "sof-hsw.ri",
49-
.nocodec_fw_filename = "sof-hsw.ri",
5049
.nocodec_tplg_filename = "sof-hsw-nocodec.tplg",
5150
.ops = &sof_hsw_ops,
5251
.arch_ops = &sof_xtensa_arch_ops
@@ -64,7 +63,6 @@ static const struct sof_dev_desc sof_acpi_broadwell_desc = {
6463
.default_fw_path = "intel/sof",
6564
.default_tplg_path = "intel/sof-tplg",
6665
.default_fw_filename = "sof-bdw.ri",
67-
.nocodec_fw_filename = "sof-bdw.ri",
6866
.nocodec_tplg_filename = "sof-bdw-nocodec.tplg",
6967
.ops = &sof_bdw_ops,
7068
.arch_ops = &sof_xtensa_arch_ops
@@ -84,7 +82,6 @@ static const struct sof_dev_desc sof_acpi_baytrailcr_desc = {
8482
.default_fw_path = "intel/sof",
8583
.default_tplg_path = "intel/sof-tplg",
8684
.default_fw_filename = "sof-byt.ri",
87-
.nocodec_fw_filename = "sof-byt.ri",
8885
.nocodec_tplg_filename = "sof-byt-nocodec.tplg",
8986
.ops = &sof_byt_ops,
9087
.arch_ops = &sof_xtensa_arch_ops
@@ -100,7 +97,6 @@ static const struct sof_dev_desc sof_acpi_baytrail_desc = {
10097
.default_fw_path = "intel/sof",
10198
.default_tplg_path = "intel/sof-tplg",
10299
.default_fw_filename = "sof-byt.ri",
103-
.nocodec_fw_filename = "sof-byt.ri",
104100
.nocodec_tplg_filename = "sof-byt-nocodec.tplg",
105101
.ops = &sof_byt_ops,
106102
.arch_ops = &sof_xtensa_arch_ops
@@ -116,7 +112,6 @@ static const struct sof_dev_desc sof_acpi_cherrytrail_desc = {
116112
.default_fw_path = "intel/sof",
117113
.default_tplg_path = "intel/sof-tplg",
118114
.default_fw_filename = "sof-cht.ri",
119-
.nocodec_fw_filename = "sof-cht.ri",
120115
.nocodec_tplg_filename = "sof-cht-nocodec.tplg",
121116
.ops = &sof_cht_ops,
122117
.arch_ops = &sof_xtensa_arch_ops

‎sound/soc/sof/sof-of-dev.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ static struct sof_dev_desc sof_of_imx8qxp_desc = {
2020
.default_fw_path = "imx/sof",
2121
.default_tplg_path = "imx/sof-tplg",
2222
.default_fw_filename = "sof-imx8.ri",
23-
.nocodec_fw_filename = "sof-imx8.ri",
2423
.nocodec_tplg_filename = "sof-imx8-nocodec.tplg",
2524
.ops = &sof_imx8_ops,
2625
};

‎sound/soc/sof/sof-pci-dev.c‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ static const struct sof_dev_desc bxt_desc = {
4848
.default_fw_path = "intel/sof",
4949
.default_tplg_path = "intel/sof-tplg",
5050
.default_fw_filename = "sof-apl.ri",
51-
.nocodec_fw_filename = "sof-apl.ri",
5251
.nocodec_tplg_filename = "sof-apl-nocodec.tplg",
5352
.ops = &sof_apl_ops,
5453
.arch_ops = &sof_xtensa_arch_ops
@@ -67,7 +66,6 @@ static const struct sof_dev_desc glk_desc = {
6766
.default_fw_path = "intel/sof",
6867
.default_tplg_path = "intel/sof-tplg",
6968
.default_fw_filename = "sof-glk.ri",
70-
.nocodec_fw_filename = "sof-glk.ri",
7169
.nocodec_tplg_filename = "sof-glk-nocodec.tplg",
7270
.ops = &sof_apl_ops,
7371
.arch_ops = &sof_xtensa_arch_ops
@@ -96,7 +94,6 @@ static const struct sof_dev_desc tng_desc = {
9694
.default_fw_path = "intel/sof",
9795
.default_tplg_path = "intel/sof-tplg",
9896
.default_fw_filename = "sof-byt.ri",
99-
.nocodec_fw_filename = "sof-byt.ri",
10097
.nocodec_tplg_filename = "sof-byt.tplg",
10198
.ops = &sof_tng_ops,
10299
.arch_ops = &sof_xtensa_arch_ops
@@ -115,7 +112,6 @@ static const struct sof_dev_desc cnl_desc = {
115112
.default_fw_path = "intel/sof",
116113
.default_tplg_path = "intel/sof-tplg",
117114
.default_fw_filename = "sof-cnl.ri",
118-
.nocodec_fw_filename = "sof-cnl.ri",
119115
.nocodec_tplg_filename = "sof-cnl-nocodec.tplg",
120116
.ops = &sof_cnl_ops,
121117
.arch_ops = &sof_xtensa_arch_ops
@@ -134,7 +130,6 @@ static const struct sof_dev_desc cfl_desc = {
134130
.default_fw_path = "intel/sof",
135131
.default_tplg_path = "intel/sof-tplg",
136132
.default_fw_filename = "sof-cfl.ri",
137-
.nocodec_fw_filename = "sof-cfl.ri",
138133
.nocodec_tplg_filename = "sof-cnl-nocodec.tplg",
139134
.ops = &sof_cnl_ops,
140135
.arch_ops = &sof_xtensa_arch_ops
@@ -155,7 +150,6 @@ static const struct sof_dev_desc cml_desc = {
155150
.default_fw_path = "intel/sof",
156151
.default_tplg_path = "intel/sof-tplg",
157152
.default_fw_filename = "sof-cml.ri",
158-
.nocodec_fw_filename = "sof-cml.ri",
159153
.nocodec_tplg_filename = "sof-cnl-nocodec.tplg",
160154
.ops = &sof_cnl_ops,
161155
.arch_ops = &sof_xtensa_arch_ops
@@ -174,7 +168,6 @@ static const struct sof_dev_desc icl_desc = {
174168
.default_fw_path = "intel/sof",
175169
.default_tplg_path = "intel/sof-tplg",
176170
.default_fw_filename = "sof-icl.ri",
177-
.nocodec_fw_filename = "sof-icl.ri",
178171
.nocodec_tplg_filename = "sof-icl-nocodec.tplg",
179172
.ops = &sof_cnl_ops,
180173
.arch_ops = &sof_xtensa_arch_ops
@@ -193,7 +186,6 @@ static const struct sof_dev_desc tgl_desc = {
193186
.default_fw_path = "intel/sof",
194187
.default_tplg_path = "intel/sof-tplg",
195188
.default_fw_filename = "sof-tgl.ri",
196-
.nocodec_fw_filename = "sof-tgl.ri",
197189
.nocodec_tplg_filename = "sof-tgl-nocodec.tplg",
198190
.ops = &sof_cnl_ops,
199191
.arch_ops = &sof_xtensa_arch_ops
@@ -212,7 +204,6 @@ static const struct sof_dev_desc ehl_desc = {
212204
.default_fw_path = "intel/sof",
213205
.default_tplg_path = "intel/sof-tplg",
214206
.default_fw_filename = "sof-ehl.ri",
215-
.nocodec_fw_filename = "sof-ehl.ri",
216207
.nocodec_tplg_filename = "sof-ehl-nocodec.tplg",
217208
.ops = &sof_cnl_ops,
218209
.arch_ops = &sof_xtensa_arch_ops
@@ -230,7 +221,6 @@ static const struct sof_dev_desc jsl_desc = {
230221
.chip_info = &jsl_chip_info,
231222
.default_fw_path = "intel/sof",
232223
.default_tplg_path = "intel/sof-tplg",
233-
.nocodec_fw_filename = "sof-jsl.ri",
234224
.nocodec_tplg_filename = "sof-jsl-nocodec.tplg",
235225
.ops = &sof_cnl_ops,
236226
.arch_ops = &sof_xtensa_arch_ops

0 commit comments

Comments
 (0)