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> --- 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 c99faccf666a..a149da095df8 100644 --- a/sound/soc/xilinx/xilinx-dp-card.c +++ b/sound/soc/xilinx/xilinx-dp-card.c @@ -37,11 +37,13 @@ static const struct snd_soc_ops xilinx_dp_ops = { static struct snd_soc_dai_link xilinx_dp_dai_links[] = { { .name = "xilinx-dp0", + .stream_name = "xilinx-dp0", .codec_dai_name = "xilinx-dp-snd-codec-dai", .ops = &xilinx_dp_ops, }, { .name = "xilinx-dp1", + .stream_name = "xilinx-dp1", .codec_dai_name = "xilinx-dp-snd-codec-dai", .ops = &xilinx_dp_ops, }, -- 2.17.1 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto