MLK-14935: ASoC: fsl_sai: Fix mixing initialization data with actual audio samples
authorMihai Serban <mihai.serban@nxp.com>
Thu, 27 Apr 2017 15:47:42 +0000 (18:47 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:22 +0000 (15:22 -0500)
commit3528d2d0e484c95095a719bd16aa2519769cf1b8
treed49fb96fc28c5fab8a17aeb20b39545fced0c799
parent058d319d14022e6fd5215d5ccabee4713de05d4a
MLK-14935: ASoC: fsl_sai: Fix mixing initialization data with actual audio samples

When starting a playback the initialization data used to reduce underruns
was send to the transmit data register after the DMA requests were enabled.
This patch moves the initialization phase before enabling the DMA so the
data is transmitted in correct order.

Signed-off-by: Mihai Serban <mihai.serban@nxp.com>
sound/soc/fsl/fsl_sai.c