summaryrefslogtreecommitdiffstats
path: root/sound/soc/sti/uniperif.h
diff options
context:
space:
mode:
authorArnaud Pouliquen <arnaud.pouliquen@st.com>2015-07-16 11:36:06 +0200
committerMark Brown <broonie@kernel.org>2015-07-16 21:38:24 +0100
commitfa050796b35c80ac948c4d24c95262daa905e2ef (patch)
treea18d7a52332972940a5ef712e5ff57c084ea8fac /sound/soc/sti/uniperif.h
parent1e6babb417f76bd6d1a4d1d633e5c46435acbfe7 (diff)
downloadlinux-stable-fa050796b35c80ac948c4d24c95262daa905e2ef.tar.gz
linux-stable-fa050796b35c80ac948c4d24c95262daa905e2ef.tar.bz2
linux-stable-fa050796b35c80ac948c4d24c95262daa905e2ef.zip
ASoC: sti: Add clock adjustement control
Add capability to adjust player clock, for clocks drift management. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sti/uniperif.h')
-rw-r--r--sound/soc/sti/uniperif.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sti/uniperif.h b/sound/soc/sti/uniperif.h
index f1e583de3c6f..ee462f7daaff 100644
--- a/sound/soc/sti/uniperif.h
+++ b/sound/soc/sti/uniperif.h
@@ -1175,6 +1175,7 @@ struct uniperif {
/* Clocks */
struct clk *clk;
int mclk;
+ int clk_adj;
/* Runtime data */
enum uniperif_state state;
@@ -1183,6 +1184,7 @@ struct uniperif {
/* Specific to IEC958 player */
struct uniperif_iec958_settings stream_settings;
+ struct mutex ctrl_lock; /* For resource updated by stream and controls*/
/*alsa ctrl*/
struct snd_kcontrol_new *snd_ctrls;