diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2026-04-30 18:09:31 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-04 16:24:42 +0300 |
| commit | 250922577ed16c29b994197b84a231dcbe7798e8 (patch) | |
| tree | 81e1048400c201752ddbdb73503ef4dc5bd5e947 /include/linux/platform_data | |
| parent | df036250d7d5f751de04300a5600b2dadb927ae9 (diff) | |
| download | linux-250922577ed16c29b994197b84a231dcbe7798e8.tar.xz | |
ASoC: SDCA: Support devices with multiple functions of identical type
It is possible that SDCAs devices might have multiple functions of
the same type, as the entity names within a function are defined by
the specification it is very likely such a device will have duplicate
entities. This causes problems where DAIs and ALSA controls end up
with clashing names.
This can be handled by adding the function address into the names to
ensure uniqueness, although, ideally this would have been included from
the start. User-space already has UCM using the current control names,
so as a compromise the first function of a given type will use the
raw entity names, then duplicates will get an added function address.
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260430150931.2025953-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
