]> 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)
commit0c0ad508d8318e7dc530d02edc7bb8dfc5a032fc
tree5d5bd8a1306934528d7d3f43b17658098f5800dd
parent0268ef49c5a103e65c9f7c73f0d0d2f7c0bfd8bb
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