summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd/yc/pci-acp6x.c
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2021-10-18 16:50:42 +0530
committerMark Brown <broonie@kernel.org>2021-10-18 21:11:45 +0100
commit058dfdf37f25580423fd21d4b78d2daf217d0cf5 (patch)
tree77f3c667bfb3c894b186f127e588dc4b34e48fee /sound/soc/amd/yc/pci-acp6x.c
parent89728d97db3f078aceb967ebe5ed2d0797b6a117 (diff)
downloadlinux-stable-058dfdf37f25580423fd21d4b78d2daf217d0cf5.tar.gz
linux-stable-058dfdf37f25580423fd21d4b78d2daf217d0cf5.tar.bz2
linux-stable-058dfdf37f25580423fd21d4b78d2daf217d0cf5.zip
ASoC: amd: create platform device for acp6x machine driver
Create platform device for acp6x machine driver. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://lore.kernel.org/r/20211018112044.1705805-12-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/yc/pci-acp6x.c')
-rw-r--r--sound/soc/amd/yc/pci-acp6x.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/amd/yc/pci-acp6x.c b/sound/soc/amd/yc/pci-acp6x.c
index cf02c542cf88..957eeb6fb8e3 100644
--- a/sound/soc/amd/yc/pci-acp6x.c
+++ b/sound/soc/amd/yc/pci-acp6x.c
@@ -223,6 +223,10 @@ static int snd_acp6x_probe(struct pci_dev *pci,
pdevinfo[1].id = 0;
pdevinfo[1].parent = &pci->dev;
+ pdevinfo[2].name = "acp_yc_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]);