diff options
author | Arnaud Pouliquen <arnaud.pouliquen@st.com> | 2015-07-16 12:36:06 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-16 23:38:24 +0300 |
commit | fa050796b35c80ac948c4d24c95262daa905e2ef (patch) | |
tree | a18d7a52332972940a5ef712e5ff57c084ea8fac /sound/soc/sti/uniperif.h | |
parent | 1e6babb417f76bd6d1a4d1d633e5c46435acbfe7 (diff) | |
download | linux-fa050796b35c80ac948c4d24c95262daa905e2ef.tar.xz |
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.h | 2 |
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; |