mirror of https://gitee.com/openkylin/linux.git
ASoC: Intel: sof_sdw: fix typo in components string
The component string attributes are separated by spaces, not commas.
Fixes: b1ca2f63e2
("ASoC: Intel: sof_sdw: add amp number in components string for ucm")
Reported-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200515210731.10942-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
75ac6dce7f
commit
9d05a1e50c
|
@ -945,7 +945,7 @@ static int mc_probe(struct platform_device *pdev)
|
|||
amp_num += codec_info_list[i].amp_num;
|
||||
|
||||
card->components = devm_kasprintf(card->dev, GFP_KERNEL,
|
||||
"cfg-spk:%d, cfg-amp:%d",
|
||||
"cfg-spk:%d cfg-amp:%d",
|
||||
(sof_sdw_quirk & SOF_SDW_FOUR_SPK)
|
||||
? 4 : 2, amp_num);
|
||||
if (!card->components)
|
||||
|
|
Loading…
Reference in New Issue