[linux-yocto] [kernel v5.2/standard/xlnx-soc][PATCH 0/1] sound: soc: xilinx: give a name to stream_name in xilinx_dp_dai_links

quanyang.wang at windriver.com quanyang.wang at windriver.com
Mon Nov 11 02:30:08 PST 2019


From: Quanyang Wang <quanyang.wang at windriver.com>

Hi Bruce & Michal,

When running "aplay -l" in zcu102 board, there will be a "(null)" in output:
root at xilinx-zynqmp:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: monitor [DisplayPort monitor], device 0: (null) xilinx-dp-snd-codec-dai-0 [(null) xilinx-dp-snd-codec-dai-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: monitor [DisplayPort monitor], device 1: (null) xilinx-dp-snd-codec-dai-1 [(null) xilinx-dp-snd-codec-dai-1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Just give a name to .stream_name, not to fix any issue but just decorate the output.
After applying this patch, the output becomes:
root at xilinx-zynqmp:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: monitor [DisplayPort monitor], device 0: xilinx-dp0 xilinx-dp-snd-codec-dai-0 [xilinx-dp0 xilinx-dp-snd-codec-dai-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: monitor [DisplayPort monitor], device 1: xilinx-dp1 xilinx-dp-snd-codec-dai-1 [xilinx-dp1 xilinx-dp-snd-codec-dai-1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Would you please help review and merge these patches to linux-yocto v5.2/standard/xlnx-soc branch?

Quanyang Wang (1):
  sound: soc: xilinx: give a name to stream_name in xilinx_dp_dai_links

 sound/soc/xilinx/xilinx-dp-card.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.17.1



More information about the linux-yocto mailing list