summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max98090.h
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2014-05-26 10:28:21 +0200
committerMark Brown <broonie@linaro.org>2014-05-26 17:16:54 +0200
commitb10ab7b838bdd86031aececcb386dc253ef3466f (patch)
tree08a43428c8c631d06ae9e18def44f654397d4db1 /sound/soc/codecs/max98090.h
parentASoC: max98090: Add NI/MI values for user pclk 19.2 MHz (diff)
downloadlinux-b10ab7b838bdd86031aececcb386dc253ef3466f.tar.xz
linux-b10ab7b838bdd86031aececcb386dc253ef3466f.zip
ASoC: max98090: Add master clock handling
If master clock is provided through device tree, then update the master clock frequency during set_sysclk. Documentation has been updated to reflect the change. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/max98090.h')
-rw-r--r--sound/soc/codecs/max98090.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98090.h b/sound/soc/codecs/max98090.h
index 5a3c8d0613cb..cf1b6062ba8c 100644
--- a/sound/soc/codecs/max98090.h
+++ b/sound/soc/codecs/max98090.h
@@ -1524,6 +1524,7 @@ struct max98090_priv {
struct snd_soc_codec *codec;
enum max98090_type devtype;
struct max98090_pdata *pdata;
+ struct clk *mclk;
unsigned int sysclk;
unsigned int bclk;
unsigned int lrclk;