On Mon, Mar 07, 2016 at 05:44:08PM -0300, Fabio Estevam wrote:
Hi,
I am trying to get SAI to work on a mx6sx sdb board.
Here are the changes I made: http://pastebin.com/aq32B24v
Can't access your link.
I can see the driver getting probed:
[ 2.198276] fsl-asoc-card sound: wm8962 <-> 21d4000.sai mapping ok
,but when attempting a playback it fails:
$ aplay clarinet.wav [ 110.843619] fsl-sai 21d4000.sai: isr: Transmit underrun detected [ 110.849841] fsl-sai 21d4000.sai: isr: Transmit underrun detected [ 110.855995] fsl-sai 21d4000.sai: isr: Transmit underrun detected
(repeats forever).
Any ideas as to how to get SAI working on this platform?
You need a dts patch to configure SDMA channels via GPR. I don't have it on hand. May send you after I get home.
Zidan,
How have you tested SAI when you usptream the driver?
Thanks