From: Quanyang Wang <quanyang.w...@windriver.com> If .stream_name is NULL, when calling "aplay -l", it will show:
card 0: monitor [DisplayPort monitor], device 0: (null) xilinx-dp-snd-codec-dai-0 [(null) xilinx-dp-snd-codec-dai-0] Adding .stream_name can eliminate the "(null)" in the output. Signed-off-by: Quanyang Wang <quanyang.w...@windriver.com> Reviewed-by: Hyun Kwon <hyun.k...@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfi...@gmail.com> --- sound/soc/xilinx/xilinx-dp-card.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/xilinx/xilinx-dp-card.c b/sound/soc/xilinx/xilinx-dp-card.c index 7f4063ef5b21..f216b40c647d 100644 --- a/sound/soc/xilinx/xilinx-dp-card.c +++ b/sound/soc/xilinx/xilinx-dp-card.c @@ -42,11 +42,13 @@ SND_SOC_DAILINK_DEFS(pcm, static struct snd_soc_dai_link xilinx_dp_dai_links[] = { { .name = "xilinx-dp0", + .stream_name = "xilinx-dp0", .ops = &xilinx_dp_ops, SND_SOC_DAILINK_REG(pcm), }, { .name = "xilinx-dp1", + .stream_name = "xilinx-dp1", .ops = &xilinx_dp_ops, SND_SOC_DAILINK_REG(pcm), }, -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8161): https://lists.yoctoproject.org/g/linux-yocto/message/8161 Mute This Topic: https://lists.yoctoproject.org/mt/65678550/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-