diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2014-05-20 15:01:53 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-01 20:04:30 +0100 |
commit | 49ef7925c237a2f9da327ea3481dd5bba54693e8 (patch) | |
tree | e31b2b7c9e284d5797f72956fc4e7ab3cfec9ec7 /sound/soc/codecs/rl6231.h | |
parent | 15f78ea67fa712392daebc262821d9fe29705cfa (diff) | |
download | op-kernel-dev-49ef7925c237a2f9da327ea3481dd5bba54693e8.zip op-kernel-dev-49ef7925c237a2f9da327ea3481dd5bba54693e8.tar.gz |
ASoC: rt5640: Add RL6231 class device shared support for RT5640, RT5645 and RT5651
The patch adds the RL6231 class device shared support for RT5640, RT5645 and
RT5651. The function of the DMIC clock calculation can be shared by 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.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sound/soc/codecs/rl6231.h b/sound/soc/codecs/rl6231.h new file mode 100644 index 0000000..00032db --- /dev/null +++ b/sound/soc/codecs/rl6231.h @@ -0,0 +1,18 @@ +/* + * rl6231.h - RL6231 class device shared support + * + * Copyright 2014 Realtek Semiconductor Corp. + * + * Author: Oder Chiou <oder_chiou@realtek.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __RL6231_H__ +#define __RL6231_H__ + +int rl6231_calc_dmic_clk(int rate); + +#endif /* __RL6231_H__ */ |