Skip to content

Commit 6be269d

Browse files
bardliaobroonie
authored andcommitted
ASoC: Intel: sof_sdw: add a space before cfg-amp in components
UCM parse amp with Regex " cfg-amp:([0-9]+)". The "ASoC: Intel: sof_sdw: remove FOUR_SPEAKER quirks" patch removed "cfg-spk:%d " from components which removed the necessary space as well and cause UCM can't parse the amp number properly. Fixes: 744866d ("ASoC: Intel: sof_sdw: remove FOUR_SPEAKER quirks") Signed-off-by: Bard Liao <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2086b55 commit 6be269d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/intel/boards/sof_sdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,7 @@ static int mc_probe(struct platform_device *pdev)
19831983
amp_num += codec_info_list[i].amp_num;
19841984

19851985
card->components = devm_kasprintf(card->dev, GFP_KERNEL,
1986-
"cfg-amp:%d", amp_num);
1986+
" cfg-amp:%d", amp_num);
19871987
if (!card->components)
19881988
return -ENOMEM;
19891989

0 commit comments

Comments
 (0)