Re: [PATCH] ASoC: simple-card-utils: Don't reset clock of active DAI

From: Kuninori Morimoto
Date: Thu Mar 10 2022 - 18:32:47 EST



Hi

> Playback or capture errors are seen when clock is reset during an active
> stage of DAI. Presently this scenario happens when DAI has both playback
> and capture sessions running and one of these finishes first which will
> be followed by clock rate reset. The remaining active session will be
> affected in such case.
>
> Address this problem by allowing clock rate reset to happen only when
> the DAI is no more active.
>
> Signed-off-by: Sameer Pujar <spujar@xxxxxxxxxx>
> ---

Reviewed-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>

Thank you for your help !!

Best regards
---
Kuninori Morimoto