mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
baa28b54a2
esp_light_sleep_start() will stall the other CPU via esp_ipc_isr_stall_other_cpu(). After stalling the other CPU, will call esp_clk_... API which themselves take locks. If the other stalled CPU is holding those locks, this will result in a deadlock. This commit adds a workaround calling esp_clk_private_lock() to take the lock before stalling the other CPU. |
||
---|---|---|
.. | ||
esp_private | ||
soc | ||
esp_async_memcpy.h | ||
esp_chip_info.h | ||
esp_clk.h | ||
esp_cpu.h | ||
esp_crc.h | ||
esp_fault.h | ||
esp_interface.h | ||
esp_intr_alloc.h | ||
esp_intr.h | ||
esp_mac.h | ||
esp_memprot_err.h | ||
esp_memprot_types.h | ||
esp_memprot.h | ||
esp_random.h | ||
esp_sleep.h | ||
soc_log.h |