esp-idf/components/esp_timer/include/esp_private
Darian Leung a73dd07d12 esp_hw_support: Fix esp_light_sleep_start() deadlock
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.
2022-08-10 18:52:32 +08:00
..
esp_timer_private.h esp_hw_support: Fix esp_light_sleep_start() deadlock 2022-08-10 18:52:32 +08:00