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-19 12:16:41 +00:00
2016-05-30 16:15:40 +01:00
2017-02-04 12:37:26 +01:00
2017-04-26 15:44:52 +01:00
2017-09-07 14:43:33 -07:00
2017-07-18 14:46:20 +01:00
2016-08-08 11:55:15 +01:00
2014-03-06 17:21:56 +08:00
2015-03-16 11:24:47 +00:00
2017-12-12 10:41:27 +00:00
2013-08-01 10:40:02 +01:00
2014-02-10 13:33:23 +00:00