summaryrefslogtreecommitdiff
path: root/chip/ish/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/ish/dma.c')
-rw-r--r--chip/ish/dma.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/chip/ish/dma.c b/chip/ish/dma.c
index a409dc6ad3..b9744fd234 100644
--- a/chip/ish/dma.c
+++ b/chip/ish/dma.c
@@ -37,9 +37,11 @@ static int dma_poll(uint32_t addr, uint32_t expected, uint32_t mask)
void ish_dma_ocp_timeout_disable(void)
{
- uint32_t ctrl = OCP_AGENT_CONTROL;
+ if (!IS_ENABLED(CONFIG_ISH_NEW_PM)) {
+ uint32_t ctrl = OCP_AGENT_CONTROL;
- OCP_AGENT_CONTROL = ctrl & OCP_RESPONSE_TO_DISABLE;
+ OCP_AGENT_CONTROL = ctrl & OCP_RESPONSE_TO_DISABLE;
+ }
}
static inline uint32_t interrupt_lock(void)