Skip to content

Commit dbda5c3

Browse files
crojewsk-intelbroonie
authored andcommitted
ASoC: Intel: avs: Fix the minimum firmware version numbers
For few TGL-based platforms the minor version number for AudioDSP firmware is incorrect forcing users to utilize ignore_fw_version module parameter. Fixes: 5acb19e ("ASoC: Intel: avs: TGL-based platforms support") Signed-off-by: Cezary Rojewski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent bca0fa5 commit dbda5c3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

sound/soc/intel/avs/core.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -829,22 +829,22 @@ static const struct avs_spec jsl_desc = {
829829
.hipc = &cnl_hipc_spec,
830830
};
831831

832-
#define AVS_TGL_BASED_SPEC(sname) \
832+
#define AVS_TGL_BASED_SPEC(sname, min) \
833833
static const struct avs_spec sname##_desc = { \
834834
.name = #sname, \
835-
.min_fw_version = { 10, 29, 0, 5646 }, \
835+
.min_fw_version = { 10, min, 0, 5646 }, \
836836
.dsp_ops = &avs_tgl_dsp_ops, \
837837
.core_init_mask = 1, \
838838
.attributes = AVS_PLATATTR_IMR, \
839839
.sram = &apl_sram_spec, \
840840
.hipc = &cnl_hipc_spec, \
841841
}
842842

843-
AVS_TGL_BASED_SPEC(lkf);
844-
AVS_TGL_BASED_SPEC(tgl);
845-
AVS_TGL_BASED_SPEC(ehl);
846-
AVS_TGL_BASED_SPEC(adl);
847-
AVS_TGL_BASED_SPEC(adl_n);
843+
AVS_TGL_BASED_SPEC(lkf, 28);
844+
AVS_TGL_BASED_SPEC(tgl, 29);
845+
AVS_TGL_BASED_SPEC(ehl, 30);
846+
AVS_TGL_BASED_SPEC(adl, 35);
847+
AVS_TGL_BASED_SPEC(adl_n, 35);
848848

849849
static const struct pci_device_id avs_ids[] = {
850850
{ PCI_DEVICE_DATA(INTEL, HDA_SKL_LP, &skl_desc) },

0 commit comments

Comments
 (0)