10 Feb
2020
10 Feb
'20
7:59 p.m.
On Mon, Feb 10, 2020 at 04:16:51PM +0800, Brent Lu wrote:
Intel sst firmware turns on BCLK/WCLK in START Ioctl call which timing is later than the DAPM SUPPLY event handler da7219_dai_event is called (in PREPARED state). Therefore, the SRM lock check always fail.
Moving the check to trigger callback could ensure the SRM is locked before DSP starts to process data and avoid possisble noise.
Independently of any other discussion trigger is expected to run very fast so doesn't feel like a good place to do this - given that we're talking about doing this to avoid noise the mute operation seems like a more idiomatic place to do this, it exists to avoid playing back glitches from the digitial interface during startup.