summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd/acp.h
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2017-10-09 22:36:08 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-10-18 16:56:26 +0200
commita1b16aaa55b6425418d6d7a87d3dbbe40bac8c37 (patch)
treed4074d7f3b0308eacfafcc31e5ec8476e0e75778 /sound/soc/amd/acp.h
parentdrm/amd/amdgpu: Added asic_type as ACP DMA driver platform data (diff)
downloadlinux-a1b16aaa55b6425418d6d7a87d3dbbe40bac8c37.tar.xz
linux-a1b16aaa55b6425418d6d7a87d3dbbe40bac8c37.zip
ASoC: AMD: Added asic_type as ACP DMA driver platform data
asic_type information is passed to ACP DMA Driver as platform data. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'sound/soc/amd/acp.h')
-rw-r--r--sound/soc/amd/acp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/amd/acp.h b/sound/soc/amd/acp.h
index 330832ef4e5e..28cf9140f49c 100644
--- a/sound/soc/amd/acp.h
+++ b/sound/soc/amd/acp.h
@@ -84,6 +84,13 @@ struct audio_substream_data {
void __iomem *acp_mmio;
};
+struct audio_drv_data {
+ struct snd_pcm_substream *play_stream;
+ struct snd_pcm_substream *capture_stream;
+ void __iomem *acp_mmio;
+ u32 asic_type;
+};
+
enum {
ACP_TILE_P1 = 0,
ACP_TILE_P2,