[PATCH] ASoC: fsl_sai: sw reset consumer on pause/stop

Fabio Estevam festevam at gmail.com
Fri Sep 22 00:00:20 AEST 2023


On Thu, Sep 21, 2023 at 5:48 AM Emil Abildgaard Svendsen
<EMAS at 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 at bang-olufsen.dk>

Reviewed-by: Fabio Estevam <festevam at gmail.com>


More information about the Linuxppc-dev mailing list