diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2020-11-13 06:53:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-13 15:22:09 +0100 |
commit | 7416f6bc5fcb1fe6700391c94b59ac1c744ad9d1 (patch) | |
tree | 1314029cbf181b7730e9ad252ef48c64f426804f /sound/soc/codecs/rt5682.c | |
parent | Merge series "ASoC: SOF: Kconfig corrections" from Pierre-Louis Bossart <pier... (diff) | |
download | linux-7416f6bc5fcb1fe6700391c94b59ac1c744ad9d1.tar.xz linux-7416f6bc5fcb1fe6700391c94b59ac1c744ad9d1.zip |
ASoC: rt5682: Add a new property for the DMIC clock driving
The patch adds a new property to set the DMIC clock driving.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Link: https://lore.kernel.org/r/20201113055400.11242-1-oder_chiou@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5682.c')
-rw-r--r-- | sound/soc/codecs/rt5682.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c index a9acce7b6cca..f299b30f4f59 100644 --- a/sound/soc/codecs/rt5682.c +++ b/sound/soc/codecs/rt5682.c @@ -2989,6 +2989,9 @@ int rt5682_parse_dt(struct rt5682_priv *rt5682, struct device *dev) rt5682->pdata.dai_clk_names[RT5682_DAI_WCLK_IDX], rt5682->pdata.dai_clk_names[RT5682_DAI_BCLK_IDX]); + rt5682->pdata.dmic_clk_driving_high = device_property_read_bool(dev, + "realtek,dmic-clk-driving-high"); + return 0; } EXPORT_SYMBOL_GPL(rt5682_parse_dt); |