summaryrefslogtreecommitdiff
path: root/sound/soc/amd/ps/pci-ps.c
diff options
context:
space:
mode:
authorSyed Saba Kareem <Syed.SabaKareem@amd.com>2022-08-27 19:56:55 +0300
committerMark Brown <broonie@kernel.org>2022-08-30 01:14:15 +0300
commit76dd567591c89f92dea97b581988538312ae584f (patch)
tree50bd9604da1f89fc251db8778b568fef2405d22b /sound/soc/amd/ps/pci-ps.c
parent1e4366489e2c059cb00e453737e802d74fd9b1d1 (diff)
downloadlinux-76dd567591c89f92dea97b581988538312ae584f.tar.xz
ASoC: amd: create platform device for acp6.2 machine driver
Create platform device for acp6.2 machine driver. Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://lore.kernel.org/r/20220827165657.2343818-12-Syed.SabaKareem@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/ps/pci-ps.c')
-rw-r--r--sound/soc/amd/ps/pci-ps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c
index 075d9a23205d..dff2e2376bbf 100644
--- a/sound/soc/amd/ps/pci-ps.c
+++ b/sound/soc/amd/ps/pci-ps.c
@@ -233,6 +233,10 @@ static int snd_acp62_probe(struct pci_dev *pci,
pdevinfo[1].id = 0;
pdevinfo[1].parent = &pci->dev;
+ pdevinfo[2].name = "acp_ps_mach";
+ pdevinfo[2].id = 0;
+ pdevinfo[2].parent = &pci->dev;
+
for (index = 0; index < ACP6x_DEVS; index++) {
adata->pdev[index] =
platform_device_register_full(&pdevinfo[index]);