summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/acp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/picasso/acp.c')
-rw-r--r--src/soc/amd/picasso/acp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/soc/amd/picasso/acp.c b/src/soc/amd/picasso/acp.c
index 854dd8f52b..29b7521f38 100644
--- a/src/soc/amd/picasso/acp.c
+++ b/src/soc/amd/picasso/acp.c
@@ -16,15 +16,11 @@
static void init(struct device *dev)
{
const struct soc_amd_picasso_config *cfg;
- const struct device *nb_dev = pcidev_path_on_root(GNB_DEVFN);
struct resource *res;
uintptr_t bar;
/* Set the proper I2S_PIN_CONFIG state */
- if (!nb_dev || !nb_dev->chip_info)
- return;
-
- cfg = nb_dev->chip_info;
+ cfg = config_of_soc();
res = dev->resource_list;
if (!res || !res->base) {