mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Keep gated-clk refcnt under s_clk_tree_spinlock only, and call esp_crypto_common_clk_enable outside PERIPH_RCC so crypto (RCC→clk_tree) and modem (clk_tree→RCC) cannot deadlock on periph_spinlock Co-authored-by: Cursor <cursoragent@cursor.com>