regression: bad sound card type detection in audio graph

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Kuninori,

We are seeing a regression while rebasing on kernel V5.1 (from v4.19).
The regression is linked to your update of the audio graph to merge the
support of the normal and DPCM sound cards.

In our sound card (described here:
https://github.com/STMicroelectronics/linux/blob/v4.19-stm32mp/arch/arm/boot/dts/stm32mp157c-ev1.dts)

We declare a normal sound card using the WM8994 codec:

  Playback: CPU-DAI (SAI2a)-> CODEC-DAI/port0
  Record: CPU-DAI (SAI2B)<- CODEC-DAI/port1
  ...

The WM8994 codec is declared with 2 ports as it supports 2 interfaces.

When we probe the sound card we are detecting a wrong dai link type
because the condition
if (of_get_child_count(codec_port) > 1) return true. The dai link is
detected as DPCM instead of the expected normal link.

I checked your last commits sent on mailing list, seems that this
criteria is still valid.

Please could you elaborate a little bit on this criteria for the
normal/DPCM selection?

What is you feeling about this limitation. Do you see a way to refine
the condition to allow normal sound card with multi-port codecs. Or do
we have to migrate our sound card to DPCM.

Thanks in advance for your answer

Regards
Arnaud
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux