summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2020-03-23 16:25:45 +0800
committerMark Brown <broonie@kernel.org>2020-03-23 18:17:23 +0000
commit9a74c44a6f675e4e991437eee39496109b601629 (patch)
treee5da9a56c6b3977aef963f5c894580fd18bc2688 /include/sound
parentbc765162f730fe0ddd71a268b58c39eec057c082 (diff)
downloadlinux-9a74c44a6f675e4e991437eee39496109b601629.tar.gz
linux-9a74c44a6f675e4e991437eee39496109b601629.tar.bz2
linux-9a74c44a6f675e4e991437eee39496109b601629.zip
ASoC: rt5682: Add a property for DMIC clock rate
The patch adds a property for DMIC clock rate (hz) and changes the default to the common optimize DMIC clock rate. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Link: https://lore.kernel.org/r/20200323082547.7898-1-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 6bf0e3581056..96b268ac96bd 100644
--- a/include/sound/rt5682.h
+++ b/include/sound/rt5682.h
@@ -38,6 +38,7 @@ struct rt5682_platform_data {
enum rt5682_dmic1_clk_pin dmic1_clk_pin;
enum rt5682_jd_src jd_src;
unsigned int btndet_delay;
+ unsigned int dmic_clk_rate;
const char *dai_clk_names[RT5682_DAI_NUM_CLKS];
};