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>
This commit is contained in:
Vijendar Mukunda
2017-10-09 16:36:08 -04:00
committed by Alex Deucher
parent 1fd16f36be
commit a1b16aaa55
2 changed files with 9 additions and 6 deletions

View File

@@ -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,