Skip to content

Commit dabbd32

Browse files
morimotobroonie
authored andcommitted
ASoC: simple-card-utils.c: add missing dlc->of_node
commit 90de551 ("ASoC: simple-card-utils.c: enable multi Component support") added muiti Component support, but was missing to add dlc->of_node. Because of it, Sound device list will indicates strange name if it was DPCM connection and driver supports dai->driver->dai_args, like below > aplay -l card X: sndulcbmix [xxxx], device 0: fe.(null).rsnd-dai.0 (*) [] ... ^^^^^^ It will be fixed by this patch > aplay -l card X: sndulcbmix [xxxx], device 0: [email protected] (*) [] ... ^^^^^^^^^^^^^^ Signed-off-by: Kuninori Morimoto <[email protected]> Reviewed-by: Daniel Baluta <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 98fcb50 commit dabbd32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/generic/simple-card-utils.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,7 @@ int graph_util_parse_dai(struct device *dev, struct device_node *ep,
10921092
args.np = ep;
10931093
dai = snd_soc_get_dai_via_args(&args);
10941094
if (dai) {
1095+
dlc->of_node = node;
10951096
dlc->dai_name = snd_soc_dai_name_get(dai);
10961097
dlc->dai_args = snd_soc_copy_dai_args(dev, &args);
10971098
if (!dlc->dai_args)

0 commit comments

Comments
 (0)