diff options
author | Oder Chiou <oder_chiou@realtek.com> | 2016-06-17 06:02:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-22 17:55:05 +0300 |
commit | c9506bb84b62917ae88087545ccb756d35655397 (patch) | |
tree | 42ee024d5483f2c2b9adccaac895b5e7a6b7eef6 /sound/soc/codecs/rt5514.h | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | linux-c9506bb84b62917ae88087545ccb756d35655397.tar.xz |
ASoC: rt5514: Add the MCLK handling
The patch adds the control of MCLK that depends on the status of DAPM.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5514.h')
-rw-r--r-- | sound/soc/codecs/rt5514.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5514.h b/sound/soc/codecs/rt5514.h index 6ad8a612f659..766f5a666ebe 100644 --- a/sound/soc/codecs/rt5514.h +++ b/sound/soc/codecs/rt5514.h @@ -12,6 +12,8 @@ #ifndef __RT5514_H__ #define __RT5514_H__ +#include <linux/clk.h> + #define RT5514_DEVICE_ID 0x10ec5514 #define RT5514_RESET 0x2000 @@ -240,6 +242,7 @@ enum { struct rt5514_priv { struct snd_soc_codec *codec; struct regmap *i2c_regmap, *regmap; + struct clk *mclk; int sysclk; int sysclk_src; int lrck; |