21 Sep
2023
21 Sep
'23
4 p.m.
On Thu, Sep 21, 2023 at 5:48 AM Emil Abildgaard Svendsen EMAS@bang-olufsen.dk wrote:
When in consumer mode with BCLK disabled (FSL_SAI_CSR_BCE = 0) the FIFO's can still contain data when resumed. It might also be possible with BCLK enabled but just less likely.
When the FIFO's still contain data on resume it can cause channel shifting on e.g. XRUNS. A Software Reset will reset the FIFO's and make sure channels are aligned.
Fixes: 269f399dc19f ("ASoC: fsl_sai: Disable bit clock with transmitter") Signed-off-by: Emil Svendsen emas@bang-olufsen.dk
Reviewed-by: Fabio Estevam festevam@gmail.com