Missing sound card capture in kernel v4.19 for HiKey960

Hi @doitright ,

Currently I am trying to upgrade the HiKey960 board with android 11 version and kernel v4.19. After upgradation, everything seems to be fine except sound card capture (pcmC0D0c) is missing. It only listed pcmC0D0p.

hikey960:/ # cat /proc/asound/cards
0 [hikeyhdmi ]: hikey-hdmi - hikey-hdmi

Under /dev/snd/, I have the following devices,


Now, my question is how to add sound card capture device pcmC0D0c? Where we have to made changes in kernel code to configure this?

Note : In android 11 and kernel v4.9, both sound cards pcmC0D0c and pcmC0D0p are listed properly. Only in kernel v4.19, sound card capture is missing.

Thanks in advance,

Not sure. I’m not working with that board any longer. You will want to look at and compare the driver code in sound/soc/hisilicon, and the device tree in arch/arm64/boot/dts/hisilicon/hi3660.dtsi