diff options
author | Sugar Zhang <sugar.zhang@rock-chips.com> | 2016-02-22 08:56:55 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-22 12:05:21 +0100 |
commit | 6049af00fc2fac8d27f8bd064ff68b16991a80f7 (patch) | |
tree | c55281881daecb581cc7dd3a462a5e2d78edf234 /sound/soc/codecs/rt5640.h | |
parent | Linux 4.5-rc1 (diff) | |
download | linux-6049af00fc2fac8d27f8bd064ff68b16991a80f7.tar.xz linux-6049af00fc2fac8d27f8bd064ff68b16991a80f7.zip |
ASoC: rt5640: add master clock handling for rt5640
enable/disable master clock when codec is active or not.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5640.h')
-rw-r--r-- | sound/soc/codecs/rt5640.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5640.h b/sound/soc/codecs/rt5640.h index 83a7150ddc24..1761c3a98b76 100644 --- a/sound/soc/codecs/rt5640.h +++ b/sound/soc/codecs/rt5640.h @@ -12,6 +12,7 @@ #ifndef _RT5640_H #define _RT5640_H +#include <linux/clk.h> #include <sound/rt5640.h> /* Info */ @@ -2097,6 +2098,7 @@ struct rt5640_priv { struct snd_soc_codec *codec; struct rt5640_platform_data pdata; struct regmap *regmap; + struct clk *mclk; int sysclk; int sysclk_src; |