0c76f6c556
fix the issue of regdma update cache state before wait compare Closes IDF-12651 See merge request espressif/esp-idf!38879