summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/pmif_spmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/common/pmif_spmi.c')
-rw-r--r--src/soc/mediatek/common/pmif_spmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/mediatek/common/pmif_spmi.c b/src/soc/mediatek/common/pmif_spmi.c
index 8ff7c1e82d..afeeddf515 100644
--- a/src/soc/mediatek/common/pmif_spmi.c
+++ b/src/soc/mediatek/common/pmif_spmi.c
@@ -82,7 +82,8 @@ static int spmi_mst_init(struct pmif *pmif_arb)
return -E_INVAL;
}
- pmif_spmi_iocfg();
+ if (!CONFIG(PMIF_SPMI_IOCFG_DEFAULT_SETTING))
+ pmif_spmi_iocfg();
spmi_config_master();
for (i = 0; i < spmi_dev_cnt; i++)