Matthias Kaehlcke 05c9b302ed
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>
2018-02-19 12:16:41 +00:00
..
2018-02-01 16:35:31 -08:00
2018-02-01 10:57:45 -08:00
2018-02-01 16:07:54 -08:00
2018-02-01 10:57:45 -08:00
2018-02-01 09:51:57 -08:00
2018-02-01 10:57:45 -08:00
2018-02-08 12:03:54 -08:00
2018-02-04 11:11:23 -08:00
2018-02-06 11:27:48 -08:00
2018-02-01 16:07:54 -08:00
2017-12-21 18:05:04 +01:00
2018-02-01 10:57:45 -08:00
2018-02-01 10:57:45 -08:00
2018-02-01 10:57:45 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 16:35:31 -08:00
2018-02-01 10:57:45 -08:00
2018-02-01 10:57:45 -08:00
2018-02-01 10:57:45 -08:00
2017-12-19 10:56:53 +01:00
2018-02-01 16:35:31 -08:00
2018-02-01 10:57:45 -08:00
2018-02-01 10:57:45 -08:00
2018-02-07 11:22:44 -08:00