mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
a73dd07d12
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. |
||
---|---|---|
.. | ||
adc_share_hw_ctrl.h | ||
esp_clk.h | ||
esp_memprot_internal.h | ||
esp_sleep_internal.h | ||
gdma.h | ||
periph_ctrl.h | ||
regi2c_ctrl.h | ||
rtc_ctrl.h | ||
sleep_gpio.h | ||
sleep_mac_bb.h | ||
sleep_retention.h | ||
systimer.h |