]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: simple-card-utils.c: add missing dlc->of_node
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 4 Feb 2025 23:50:08 +0000 (23:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:18 +0000 (12:54 -0700)
commita402f90da448c32478b810c3507e306c03ae4e3a
treed6eff485a11c5e830a466f310a00533a90bf7a42
parentc18fc7e6bbd03ab0d8a8a3bcb049fcb5c7f70edb
ASoC: simple-card-utils.c: add missing dlc->of_node

[ Upstream commit dabbd325b25edb5cdd99c94391817202dd54b651 ]

commit 90de551c1bf ("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: fe.sound@ec500000.rsnd-dai.0 (*) []
...                                     ^^^^^^^^^^^^^^

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://patch.msgid.link/87ikpp2rtb.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/generic/simple-card-utils.c