]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mediatek: mt6358: add delay after dmic clock on
authorJiaxin Yu <jiaxin.yu@mediatek.com>
Mon, 5 Aug 2019 04:56:37 +0000 (12:56 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 15 Aug 2019 14:04:04 +0000 (15:04 +0100)
commitac9ced8113af784e0f185a3a4bfc5dbcf77e0d95
tree70c391ee3ae6a73ef3c52652cc91d22c441a1308
parent7db4d17c484843a7870d18223ab09a8c5b4859f0
ASoC: mediatek: mt6358: add delay after dmic clock on

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.

Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Link: https://lore.kernel.org/r/1564980997-11359-1-git-send-email-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/mt6358.c