summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5659.h
diff options
context:
space:
mode:
authorNicolin Chen <nicoleotsuka@gmail.com>2016-07-28 14:57:16 -0700
committerMark Brown <broonie@kernel.org>2016-08-08 11:55:15 +0100
commitc6f8769b03749b244331699471bef02c9b9d5ebc (patch)
tree9e5c016f6a3f6e4d9cd6aebe6ba4408a138b2ca0 /sound/soc/codecs/rt5659.h
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
ASoC: rt5659: Add mclk controls
The codec driver should control the mclk. So this patch adds this support. Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5659.h')
-rw-r--r--sound/soc/codecs/rt5659.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5659.h b/sound/soc/codecs/rt5659.h
index d31c9e5bcec8..d69b0eb5a334 100644
--- a/sound/soc/codecs/rt5659.h
+++ b/sound/soc/codecs/rt5659.h
@@ -1796,6 +1796,7 @@ struct rt5659_priv {
struct gpio_desc *gpiod_reset;
struct snd_soc_jack *hs_jack;
struct delayed_work jack_detect_work;
+ struct clk *mclk;
int sysclk;
int sysclk_src;