Skip to contentSkip to conversation

ASoC: SOF: Intel: add hyphen between name and index to amp name_prefix

PATCH In review Bard Liao 2 participants 2 messages Oct 21, 2025

Subsystems (3)
lore
Share & tools
lore

Bard Liao

author maintainer
#0 lore raw

PATCH 1/1 ASoC: SOF: Intel: add hyphen between name and index to amp name_prefix

From: Shuming Fan <[email protected]>

For those amps that use their name as name prefix the amp id should be added after a hyphen symbol. Like "rt1320-1".

Fixes 5226d19d4cae ("ASoC: SOF: Intel: use sof_sdw as default SDW machine driver")
---
 sound/soc/sof/intel/hda.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/sof/intel/hda.c +1 -1
index 00835fc8ef8d..4a59dd53c569 100644
@@ -1261,7 +1261,7 @@ static struct snd_soc_acpi_adr_device *find_acpi_adr_device(struct device *dev,
 			break;
 		}
 	} else {
-		adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s%d",
+		adr_dev[index].name_prefix = devm_kasprintf(dev, GFP_KERNEL, "%s-%d",
 							    name_prefix,
 							    *amp_index);
 	}
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 4 lines · Bard Liao

For those amps that use their name as name prefix the amp id should be added after a hyphen symbol. Like "rt1320-1".

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: SOF: Intel: add hyphen between name and index to amp name_prefix

      commit: 5cd5f8fc29fa1b6d7c0a8f2b0a95b896ecadfa42

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark