Re: [PATCH AUTOSEL 5.3 087/203] ASoC: mediatek: mt6358: add delay after dmic clock on

From: Sasha Levin
Date: Tue Oct 01 2019 - 10:45:17 EST


On Mon, Sep 23, 2019 at 11:21:59AM -0700, Mark Brown wrote:
On Sun, Sep 22, 2019 at 02:41:53PM -0400, Sasha Levin wrote:
From: Jiaxin Yu <jiaxin.yu@xxxxxxxxxxxx>

[ Upstream commit ccb1fa21ef58a2ac15519bb878470762e967e8b3 ]

Most dmics produce a high level when they receive clock. The difference
between power-on and memory record time is about 10ms, but the dmic
needs 50ms to output normal data.

This commit add 100ms delay after SoC output clock so that we can cut
off the pop noise at the beginning.

This might mess up a production system, please don't backport it.
In general delays to eliminate pops and clicks that are part of
the PCM statup path (as opposed to DAPM) are not safe to
backport.

Okay, I'll drop it, thanks.

--
Thanks,
Sasha