summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/common/block/hda/hda.c6
-rw-r--r--src/soc/amd/stoneyridge/chip.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/hda/hda.c b/src/soc/amd/common/block/hda/hda.c
index c53291d815..ea42b84216 100644
--- a/src/soc/amd/common/block/hda/hda.c
+++ b/src/soc/amd/common/block/hda/hda.c
@@ -14,11 +14,17 @@ static const unsigned short pci_device_ids[] = {
0
};
+static const char *hda_acpi_name(const struct device *dev)
+{
+ return "AZHD";
+}
+
static struct device_operations hda_audio_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.ops_pci = &pci_dev_ops_pci,
+ .acpi_name = hda_acpi_name,
};
static const struct pci_driver hdaaudio_driver __pci_driver = {
diff --git a/src/soc/amd/stoneyridge/chip.c b/src/soc/amd/stoneyridge/chip.c
index b063c7287f..3c32bf5183 100644
--- a/src/soc/amd/stoneyridge/chip.c
+++ b/src/soc/amd/stoneyridge/chip.c
@@ -81,8 +81,6 @@ const char *soc_acpi_name(const struct device *dev)
return "PBR7";
case PCIE4_DEVFN:
return "PBR8";
- case HDA1_DEVFN:
- return "AZHD";
case EHCI1_DEVFN:
return "EHC0";
case LPC_DEVFN: