Home
last modified time | relevance | path

Searched hist:"05 c9b302eda71083840392d74ce62dd1e1f30621" (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/codecs/
H A Ddmic.cdiff 05c9b302eda71083840392d74ce62dd1e1f30621 Fri Feb 16 18:53:12 CET 2018 Matthias Kaehlcke <mka@chromium.org> ASoC: dmic: Add optional wakeup delay

On some systems a delay is needed after switching on the clocks, to allow
the output to stabilize and avoid a popping noise at the beginning of
the recording. Add the optional device tree property 'wakeup-delay-ms'
and apply the specified delay after enabling the mic. A blocking delay
can't be applied in dmic_daiops_trigger() since the function is called
in atomic context. Instead use a DAPM event handler to set the enable
GPIO and apply the delay in the handler.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>