summaryrefslogtreecommitdiff
path: root/sound/soc/amd/vangogh/acp5x.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/amd/vangogh/acp5x.h')
-rw-r--r--sound/soc/amd/vangogh/acp5x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/amd/vangogh/acp5x.h b/sound/soc/amd/vangogh/acp5x.h
index 929be9905e8e..3238c1154053 100644
--- a/sound/soc/amd/vangogh/acp5x.h
+++ b/sound/soc/amd/vangogh/acp5x.h
@@ -71,7 +71,11 @@
#define DMA_SIZE 0x40
#define FRM_LEN 0x100
+#define I2S_MASTER_MODE_ENABLE 1
+#define I2S_MASTER_MODE_DISABLE 0
+
struct i2s_dev_data {
+ bool master_mode;
unsigned int i2s_irq;
void __iomem *acp5x_base;
struct snd_pcm_substream *play_stream;