summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2020-03-23 16:25:46 +0800
committerMark Brown <broonie@kernel.org>2020-03-23 18:17:24 +0000
commit8b15ee0bf80ece9da8787ed5af160a00eb208bd9 (patch)
tree41bd17f35252335e9ae64059531259bd7247700c /include/sound
parent9a74c44a6f675e4e991437eee39496109b601629 (diff)
ASoC: rt5682: Add a property for DMIC delay
The patch adds a property for DMIC delay (ms) to avoid pop noise and changes the default delay setting. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Link: https://lore.kernel.org/r/20200323082547.7898-2-oder_chiou@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/rt5682.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/rt5682.h b/include/sound/rt5682.h
index 96b268ac96bd..e1f790561ac1 100644
--- a/include/sound/rt5682.h
+++ b/include/sound/rt5682.h
@@ -39,6 +39,7 @@ struct rt5682_platform_data {
enum rt5682_jd_src jd_src;
unsigned int btndet_delay;
unsigned int dmic_clk_rate;
+ unsigned int dmic_delay;
const char *dai_clk_names[RT5682_DAI_NUM_CLKS];
};