We are using a custom board with i.MX6 Solo and we ported SGTL5000 audio driver to it using 3.10.17 yocto release source code.
But the problem is we are not able to play the audio using aplay command. when aplay given sgtl codec hangs and we need to give ctrl+c to come out.
We are using single codec for both audio in and out.
We observed 2 cases.
After resetting board if we give arecord before aplay it wil record audio and we can play that recorded audio file in some other device. after that if you give aplay as usual will not work
After resetting board if aplay command is given before arecord it wil hang and after that arecord also does not works.
So we think that there is something issue with aplay or audio transmission which is blocking or stopping SGTL audio codec.
Requesting you to assist us in solving this issue.
We are using AUDMUX4.
SSI - 2,
Int-port - 2,
Ext-port - 4
|compatible = "fsl,imx6q","fsl,imx-audio-sgtl5000";|
|model = "imx6-audio-sgtl5000";|
|ssi-controller = <&ssi2>;|
|audio-codec = <&codec>;|
|"MIC_IN", "Mic Jack",|
|"Mic Jack", "Mic Bias",|
|"Headphone Jack", "HP_OUT",|
|"Line Out Jack", "LINE_OUT";|
|mux-int-port = <2>;|
|mux-ext-port = <4>;|
Thanks and Regards,