summaryrefslogtreecommitdiffstats
path: root/include/sound/rt5682s.h
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2021-12-08 11:17:18 +0100
committerMark Brown <broonie@kernel.org>2021-12-08 14:07:58 +0100
commit7cfa3d00730a4c0694b55fb1974823baeab8815b (patch)
treeb6224bdb4a9bed2c0733f03f591bdeac80e20ece /include/sound/rt5682s.h
parentASoC: Intel: boards: add 'static' qualifiers for max98390 routes (diff)
downloadlinux-7cfa3d00730a4c0694b55fb1974823baeab8815b.tar.xz
linux-7cfa3d00730a4c0694b55fb1974823baeab8815b.zip
ASoC: rt5682s: add delay time to fix pop sound issue
There is a pop noise at the beginning of the capture data. This patch adds the delay time before stereo1 ADC unmute to fix the pop sound issue. Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://lore.kernel.org/r/20211208101718.28945-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/rt5682s.h')
-rw-r--r--include/sound/rt5682s.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/rt5682s.h b/include/sound/rt5682s.h
index accfbc2dcdd2..f18d91308b9a 100644
--- a/include/sound/rt5682s.h
+++ b/include/sound/rt5682s.h
@@ -40,6 +40,7 @@ struct rt5682s_platform_data {
enum rt5682s_jd_src jd_src;
unsigned int dmic_clk_rate;
unsigned int dmic_delay;
+ unsigned int amic_delay;
bool dmic_clk_driving_high;
const char *dai_clk_names[RT5682S_DAI_NUM_CLKS];