diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2015-08-05 04:03:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-05 11:42:35 +0200 |
commit | 00a6d6e50ff34aa2351746422e4a1c85c7765b15 (patch) | |
tree | 72798314028c5e82c692e439077acf1cfefcf39e /sound/soc/codecs/rl6231.h | |
parent | ASoC: rl6231: add pll preset table (diff) | |
download | linux-00a6d6e50ff34aa2351746422e4a1c85c7765b15.tar.xz linux-00a6d6e50ff34aa2351746422e4a1c85c7765b15.zip |
ASoC: Add function "rl6231_get_pre_div" to correct the dmic clock calculation
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rl6231.h')
-rw-r--r-- | sound/soc/codecs/rl6231.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rl6231.h b/sound/soc/codecs/rl6231.h index 0f7b057ed736..4c77b441fba2 100644 --- a/sound/soc/codecs/rl6231.h +++ b/sound/soc/codecs/rl6231.h @@ -30,5 +30,6 @@ int rl6231_calc_dmic_clk(int rate); int rl6231_pll_calc(const unsigned int freq_in, const unsigned int freq_out, struct rl6231_pll_code *pll_code); int rl6231_get_clk_info(int sclk, int rate); +int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft); #endif /* __RL6231_H__ */ |