summaryrefslogtreecommitdiffstats
path: root/sound/soc/stm/stm32_sai.h
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@st.com>2019-03-21 16:34:56 +0100
committerMark Brown <broonie@kernel.org>2019-03-25 13:10:04 +0100
commitcf8817733d10c0147a01c97219dd0551bcf25e08 (patch)
tree4d71fcdec1aaf15e6903161f48139976088998ff /sound/soc/stm/stm32_sai.h
parentASoC: AMD: Fix incorrect extern (diff)
downloadlinux-cf8817733d10c0147a01c97219dd0551bcf25e08.tar.xz
linux-cf8817733d10c0147a01c97219dd0551bcf25e08.zip
ASoC: stm32: sai: add power management
Add support of low power modes to STM32 SAI driver. Signed-off-by: Olivier Moysan <olivier.moysan@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/stm/stm32_sai.h')
-rw-r--r--sound/soc/stm/stm32_sai.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/stm/stm32_sai.h b/sound/soc/stm/stm32_sai.h
index 08de899c766b..9c36a393ab7b 100644
--- a/sound/soc/stm/stm32_sai.h
+++ b/sound/soc/stm/stm32_sai.h
@@ -268,6 +268,7 @@ struct stm32_sai_conf {
* @version: SOC version
* @irq: SAI interrupt line
* @set_sync: pointer to synchro mode configuration callback
+ * @gcr: SAI Global Configuration Register
*/
struct stm32_sai_data {
struct platform_device *pdev;
@@ -279,4 +280,5 @@ struct stm32_sai_data {
int irq;
int (*set_sync)(struct stm32_sai_data *sai,
struct device_node *np_provider, int synco, int synci);
+ u32 gcr;
};