diff --git a/components/esp_hw_support/sleep_modes.c b/components/esp_hw_support/sleep_modes.c index db827e59c25..28e86bdc553 100644 --- a/components/esp_hw_support/sleep_modes.c +++ b/components/esp_hw_support/sleep_modes.c @@ -738,9 +738,6 @@ static SLEEP_FN_ATTR void misc_modules_sleep_prepare(uint32_t sleep_flags, bool } #endif #if CONFIG_MAC_BB_PD -# if CONFIG_IDF_TARGET_ESP32C5 - clk_ll_soc_root_clk_auto_gating_bypass(false); -# endif mac_bb_power_down_cb_execute(); #endif #if CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL @@ -812,9 +809,6 @@ static SLEEP_FN_ATTR void misc_modules_wake_prepare(uint32_t sleep_flags) #endif #if CONFIG_MAC_BB_PD mac_bb_power_up_cb_execute(); -# if CONFIG_IDF_TARGET_ESP32C5 - clk_ll_soc_root_clk_auto_gating_bypass(true); -# endif #endif #if REGI2C_ANA_CALI_PD_WORKAROUND regi2c_analog_cali_reg_write();