]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: Intel: avs: Update machine board card names
authorMark Brown <broonie@kernel.org>
Tue, 8 Apr 2025 09:25:00 +0000 (10:25 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 8 Apr 2025 09:25:00 +0000 (10:25 +0100)
commit25293be4a778123a5dc2415cb3d79d4797ba4d1e
treef6008bed51599f95e315432b892f8c390e0deef7
parent4c035fab9f42071c4024495afb2cec1409280eed
parent93fa44f84704dfedc4fe06b89bebc8cfaa5f525b
ASoC: Intel: avs: Update machine board card names

Merge series from Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>:

As discussed in user bug report [1] & [2], it was identified that HDA
card provides wrong FE device numbers to be used with UCM, at the same
time it was requested that we change card names to better names.

This patchset does that, by adding option for going back to old
behaviour in first patch. Using existing way of enumerating FEs from
topology in second patch. Then setting new names in all cards while
providing fallback to old name. Only exception is probe card, which is
used for debug purposes only, where we just directly rename card.

Do note that patch 2, will require updated topologies if topology
exposes more than 1 FE on card. Old topologies didn't assign id field
and it defaulted to 0, however when we use this field by setting
snd_soc_component_driver::use_dai_pcm_id field, we need topologies with
distinct values in FEs. Necessary changes are provided in avsdk and
avs-topology-xml repositories ([4] & [5]). linux-firmware update will
follow as soon as this changeset is merged.

[1]
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219654
[2]
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/499
[3]
Link: https://lore.kernel.org/linux-sound/20250127144445.2739017-1-amadeuszx.slawinski@linux.intel.com/
[4]
https://github.com/thesofproject/avsdk/commit/a879c8ae4ba7be53b8ed528da1361a8c62475b6e
[5]
https://github.com/thesofproject/avs-topology-xml/commit/9b94d52cbc5c1e07c8d9503c86329cd62ea4c9e7
https://github.com/thesofproject/avs-topology-xml/commit/bdbc8d6ba9ea6db67daed9cbbaed3c23ff112ecb
18 files changed:
sound/soc/intel/avs/boards/da7219.c
sound/soc/intel/avs/boards/dmic.c
sound/soc/intel/avs/boards/es8336.c
sound/soc/intel/avs/boards/hdaudio.c
sound/soc/intel/avs/boards/i2s_test.c
sound/soc/intel/avs/boards/max98357a.c
sound/soc/intel/avs/boards/max98373.c
sound/soc/intel/avs/boards/max98927.c
sound/soc/intel/avs/boards/nau8825.c
sound/soc/intel/avs/boards/pcm3168a.c
sound/soc/intel/avs/boards/probe.c
sound/soc/intel/avs/boards/rt274.c
sound/soc/intel/avs/boards/rt286.c
sound/soc/intel/avs/boards/rt298.c
sound/soc/intel/avs/boards/rt5514.c
sound/soc/intel/avs/boards/rt5663.c
sound/soc/intel/avs/boards/rt5682.c
sound/soc/intel/avs/boards/ssm4567.c