diff options
Diffstat (limited to 'src/soc/mediatek/common/devapc.c')
-rw-r--r-- | src/soc/mediatek/common/devapc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/common/devapc.c b/src/soc/mediatek/common/devapc.c index 5859c9af85..7838d7d53b 100644 --- a/src/soc/mediatek/common/devapc.c +++ b/src/soc/mediatek/common/devapc.c @@ -45,8 +45,8 @@ void dapc_init(void) if (devapc_init[i].init) devapc_init[i].init(devapc_ao_base); - /* Dump Setting */ - if (devapc_init[i].dump) + /* Dump setting */ + if (CONFIG(DEVAPC_DEBUG) && devapc_init[i].dump) devapc_init[i].dump(devapc_ao_base); } } |