]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Add DMIC token for unmute gain ramp time
authorSeppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Wed, 12 Jun 2019 17:01:47 +0000 (12:01 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 13 Jun 2019 18:55:44 +0000 (19:55 +0100)
commit90a760f5fc679a254f5c78e7c2cd89b9a632d7e3
tree5d5bd8a1306934528d7d3f43b17658098f5800dd
parentf58e4b0bd540077ce4971d8c94af0da142006026
ASoC: SOF: Add DMIC token for unmute gain ramp time

The settling time of DMIC DC level is both platform and used
microphone model specific. The unmute gain ramp is used to conceal
most of the large DC level seen in beginning of capture. This patch
adds into the DMIC DAI IPC struct a new field called unmute_ramp_time
and a new token SOF_TKN_INTEL_DMIC_UNMUTE_RAMP_TIME. The value is the
ramp length in milliseconds (ms).

The ABI minor version is incremented for this backwards compatible
change.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/dai-intel.h
include/uapi/sound/sof/abi.h
include/uapi/sound/sof/tokens.h
sound/soc/sof/topology.c