Skip to content

Commit 3415ff2

Browse files
Merge branch 'fix/regdma_wait_node_issue' into 'master'
fix(pm): fix the issue of regdma wait node to immediately return to done caused by regdma wait mode comparator for esp32c6, esp32h2 and esp32p4 Closes PM-202 See merge request espressif/esp-idf!33547
2 parents 2dbb811 + dd3d5f1 commit 3415ff2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/esp_hw_support/sleep_retention.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "sdkconfig.h"
2222
#include "esp_pmu.h"
2323

24-
#if SOC_PM_PAU_REGDMA_UPDATE_CACHE_BEFORE_WAIT_COMPARE && CONFIG_IDF_TARGET_ESP32C5 // TODO: PM-202
24+
#if SOC_PM_PAU_REGDMA_UPDATE_CACHE_BEFORE_WAIT_COMPARE
2525
#include "soc/pmu_reg.h" // for PMU_DATE_REG, it can provide full 32 bit read and write access
2626
#endif
2727
#if SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE
@@ -506,7 +506,7 @@ static esp_err_t sleep_retention_entries_create_impl(const sleep_retention_entri
506506
return ESP_ERR_NOT_SUPPORTED;
507507
}
508508
#endif
509-
#if SOC_PM_PAU_REGDMA_UPDATE_CACHE_BEFORE_WAIT_COMPARE && CONFIG_IDF_TARGET_ESP32C5 // TODO: PM-202
509+
#if SOC_PM_PAU_REGDMA_UPDATE_CACHE_BEFORE_WAIT_COMPARE
510510
/* There is a bug in REGDMA wait mode, when two wait nodes need to wait for the
511511
* same value (_val & _mask), the second wait node will immediately return to
512512
* wait done, The reason is that the wait mode comparison output logic immediate

0 commit comments

Comments
 (0)