mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'bugfix/idf_13957' into 'master'
bugfix: fix wifi loss packet and missing interrupt issues when switching root clock source Closes WIFI-7270, IDF-13957, and IDF-11064 See merge request espressif/esp-idf!46459
This commit is contained in:
@@ -19,9 +19,7 @@
|
||||
#include "soc/rtc.h"
|
||||
#include "soc/rtc_periph.h"
|
||||
#include "soc/i2s_reg.h"
|
||||
#include "soc/chip_revision.h"
|
||||
#include "esp_cpu.h"
|
||||
#include "hal/efuse_hal.h"
|
||||
#if SOC_WDT_SUPPORTED || SOC_RTC_WDT_SUPPORTED
|
||||
#include "hal/wdt_hal.h"
|
||||
#endif
|
||||
@@ -233,13 +231,6 @@ __attribute__((weak)) void esp_perip_clk_init(void)
|
||||
modem_clock_select_lp_clock_source(PERIPH_WIFI_MODULE, modem_lpclk_src, 0);
|
||||
#endif
|
||||
|
||||
/* On ESP32-C5 ECO1, clearing BIT(31) of PCR_FPGA_DEBUG_REG is used to fix
|
||||
* the issue where the modem module fails to transmit and receive packets
|
||||
* due to the loss of the modem root clock caused by automatic clock gating
|
||||
* during soc root clock source switching. For detailed information, refer
|
||||
* to IDF-11064. */
|
||||
clk_ll_soc_root_clk_auto_gating_bypass(true);
|
||||
|
||||
soc_reset_reason_t rst_reason = esp_rom_get_reset_reason(0);
|
||||
periph_ll_clk_gate_config_t clk_gate_config = {0};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user