diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2026-03-03 18:53:08 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-16 21:45:29 +0300 |
| commit | b6a6cd3f6b5b0de65b398383ba12e72eb7322c82 (patch) | |
| tree | 17f37ac602120e2a9a85a438ae531acead74e6e4 | |
| parent | e29d097ead33d0172f028b5b23f10812fe8e8335 (diff) | |
| download | linux-b6a6cd3f6b5b0de65b398383ba12e72eb7322c82.tar.xz | |
ASoC: SDCA: Use named control mux for GE/SU controls
Most of the time a GE Entity will control many SU Entities and thus the
generated control will use the control name, since the control is
shared. However, in rare cases the GE Entity will only control a single
SU Entity. In this case the control is only linked to a single SU widget
and will thus inherit the name from that. This leads to the naming for
the Selected Mode control to be unpredictable. Update to use the new
named control muxes to always force the use of the control name.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260303155308.138989-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
| -rw-r--r-- | sound/soc/sdca/sdca_asoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sdca/sdca_asoc.c b/sound/soc/sdca/sdca_asoc.c index a0191e5a5a7d..69b4fe967922 100644 --- a/sound/soc/sdca/sdca_asoc.c +++ b/sound/soc/sdca/sdca_asoc.c @@ -455,7 +455,7 @@ static int entity_parse_su_device(struct device *dev, if (!range) return -EINVAL; - (*widget)->id = snd_soc_dapm_mux; + (*widget)->id = snd_soc_dapm_mux_named_ctl; (*widget)->kcontrol_news = entity->group->ge.kctl; (*widget)->num_kcontrols = 1; (*widget)++; |
