On the 2821 system added tlv320aic3109 sound card playback error

nvidia@tegra-ubuntu:~$ aplay lucky.wav
[   34.367563] IPVS: Creating netns size=1424 id=1
aplay: playback:2716: read error
nvidia@tegra-ubuntu:~$

Registration was successful but playback failed
dmesg

tegra-snd-t186ref-mobile-rt565x sound: Failed to get HP Det GPIO, should be handled by codec
[    7.851250] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF1 <-> ADMAIF1 mapping ok
[    7.851392] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF2 <-> ADMAIF2 mapping ok
[    7.851516] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF3 <-> ADMAIF3 mapping ok
[    7.851619] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF4 <-> ADMAIF4 mapping ok
[    7.851723] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF5 <-> ADMAIF5 mapping ok
[    7.851822] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF6 <-> ADMAIF6 mapping ok
[    7.851941] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF7 <-> ADMAIF7 mapping ok
[    7.852046] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF8 <-> ADMAIF8 mapping ok
[    7.852190] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF9 <-> ADMAIF9 mapping ok
[    7.852292] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF10 <-> ADMAIF10 mapping ok
[    7.852396] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF11 <-> ADMAIF11 mapping ok
[    7.852505] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF12 <-> ADMAIF12 mapping ok
[    7.852620] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF13 <-> ADMAIF13 mapping ok
[    7.852722] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF14 <-> ADMAIF14 mapping ok
[    7.852824] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF15 <-> ADMAIF15 mapping ok
[    7.852926] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF16 <-> ADMAIF16 mapping ok
[    7.853032] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF17 <-> ADMAIF17 mapping ok
[    7.853150] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF18 <-> ADMAIF18 mapping ok
[    7.853255] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF19 <-> ADMAIF19 mapping ok
[    7.853356] tegra-snd-t186ref-mobile-rt565x sound: ADMAIF20 <-> ADMAIF20 mapping ok
[    7.857956] tegra-snd-t186ref-mobile-rt565x sound: ADSP-FE1 <-> ADSP PCM1 mapping ok
[    7.858059] tegra-snd-t186ref-mobile-rt565x sound: ADSP-FE2 <-> ADSP PCM2 mapping ok
[    7.858102] compress asoc: ADSP-FE3 <-> ADSP COMPR1 mapping ok
[    7.858148] compress asoc: ADSP-FE4 <-> ADSP COMPR2 mapping ok
[    7.875802] tegra-snd-t186ref-mobile-rt565x sound: ASoC: no sink widget found for z Headphone
[    7.875806] tegra-snd-t186ref-mobile-rt565x sound: ASoC: Failed to add route z OUT -> direct -> z Headphone
[    7.875856] tegra-snd-t186ref-mobile-rt565x sound: ASoC: no source widget found for z Mic
[    7.875859] tegra-snd-t186ref-mobile-rt565x sound: ASoC: Failed to add route z Mic -> direct -> z IN
[    7.899086] input: tegra-snd-t186ref-mobile-rt565x Headphone Jack as /devices/sound/sound/card1/input2
[    7.899829] tegra-snd-t186ref-mobile-rt565x sound: codec-dai "tlv320aic3x-hifi" registered
[    7.900485] GACT probability NOT on
[    7.900495] Mirror/redirect action on
[    7.900508] u32 classifier

What could be the cause of the failure?
demsg.log (65.9 KB)

Hi Calmcar-Bao,

Please refer to L4T doc to see if can gain some ideas:
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fasoc_driver.17.2.html%23wwpID0E0VD0HA