WM8985 Machine Driver Write Error

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

 



Hi Guys,

We have a custom i.MX6 Board which has WM8985 audio codec. I developed machine level driver ( imx-wm8985.c ) looking at imx-wm8962 code. Driver loads fine without any error. "aplay -L" list the sound card. I2C interface works fine but it is write only peripheral.

But when I am trying to play a Wav file using aplay, it fails with "aplay: pcm_write:1939: write error: Input/output error".

Reading Online found that this happens when routing is incorrect. I am unable to proceed after this..Please help me to fix this issue.

Here is my device tree.

sound {
                compatible = "fsl,imx6q-sabresd-wm8985",
                           "fsl,imx-audio-wm8985";
                model = "wm8985-audio";
                cpu-dai = <&ssi2>;
                audio-codec = <&codec>;
                audio-routing =
                        "Ext Spk", "SPKL",
                        "Ext Spk", "SPKR";
                mux-int-port = <2>;
                mux-ext-port = <3>;
        };

Please provide me clue/hint to proceed and solve the issue. I can provide you more details if you need.

Thanks for your help.


Mohammad Jamal Mohiuddin
Software Engineer, Retail Hosp/HW
NCR Corporation India Pvt Ltd.
MohammadJamal.Mohiuddin@xxxxxxx | www.ncr.com<http://www.ncr.com>




JPEG image

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

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

  Powered by Linux