On Sun, Sep 22, 2019 at 02:41:53PM -0400, Sasha Levin wrote:
From: Jiaxin Yu jiaxin.yu@mediatek.com
[ 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.