diff options
author | Syed Saba Kareem <Syed.SabaKareem@amd.com> | 2023-10-21 17:50:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-25 19:21:52 +0300 |
commit | 1b6180c095bc9a6c25e38ae1ec6481f8df20a81f (patch) | |
tree | 39275584405f42d6892ff83728b2a545e0a87e4f /sound/soc/amd/acp/amd.h | |
parent | 39d9ee47167a2210d803f651c8fdcac84f03e766 (diff) | |
download | linux-1b6180c095bc9a6c25e38ae1ec6481f8df20a81f.tar.xz |
ASoC: amd: acp: change acp-deinit function arguments
acp-deinit function will not be same for all platforms.
To make platform specific changes in acp-deinit
function, instead of passing base address pass chip
structure which contains acp_rev feild.
chip->acp_rev will be used to add platform specific code
in acp-deinit().
Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
Link: https://lore.kernel.org/r/20231021145110.478744-10-Syed.SabaKareem@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/acp/amd.h')
-rw-r--r-- | sound/soc/amd/acp/amd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/acp/amd.h b/sound/soc/amd/acp/amd.h index 62d0793027f2..e3bb470d1f32 100644 --- a/sound/soc/amd/acp/amd.h +++ b/sound/soc/amd/acp/amd.h @@ -222,7 +222,7 @@ int smn_read(struct pci_dev *dev, u32 smn_addr); int smn_write(struct pci_dev *dev, u32 smn_addr, u32 data); int acp_init(struct acp_chip_info *chip); -int acp_deinit(void __iomem *base); +int acp_deinit(struct acp_chip_info *chip); void acp_enable_interrupts(struct acp_dev_data *adata); void acp_disable_interrupts(struct acp_dev_data *adata); /* Machine configuration */ |