summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rl6231.h
diff options
context:
space:
mode:
authorOder Chiou <oder_chiou@realtek.com>2014-05-20 09:01:55 +0200
committerMark Brown <broonie@linaro.org>2014-06-01 21:04:30 +0200
commitd92950e755328a0293af66e18096e0cae29996f1 (patch)
treef4f5a06ad7856bb3d34cb80663c2f3183a87359e /sound/soc/codecs/rl6231.h
parentASoC: rt5640: Add the function of the PLL clock calculation to RL6231 shared ... (diff)
downloadlinux-d92950e755328a0293af66e18096e0cae29996f1.tar.xz
linux-d92950e755328a0293af66e18096e0cae29996f1.zip
ASoC: rt5640: Add the function "get_clk_info" to RL6231 shared support
The patch adds the function "get_clk_info" to RL6231 shared support. Signed-off-by: Oder Chiou <oder_chiou@realtek.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/rl6231.h')
-rw-r--r--sound/soc/codecs/rl6231.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rl6231.h b/sound/soc/codecs/rl6231.h
index efdfc869afe9..0f7b057ed736 100644
--- a/sound/soc/codecs/rl6231.h
+++ b/sound/soc/codecs/rl6231.h
@@ -29,5 +29,6 @@ struct rl6231_pll_code {
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);
#endif /* __RL6231_H__ */