mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(esp_hw_support): fix esp32p4 xtal_xpd depends on TOP power domain
This commit is contained in:
@@ -2310,7 +2310,9 @@ FORCE_INLINE_ATTR bool top_domain_pd_allowed(void) {
|
||||
#if SOC_PM_SUPPORT_MODEM_PD
|
||||
top_pd_allowed &= modem_domain_pd_allowed();
|
||||
#endif
|
||||
#if SOC_XTAL_CLOCK_PATH_DEPENDS_ON_TOP_DOMAIN
|
||||
top_pd_allowed &= (s_config.domain[ESP_PD_DOMAIN_XTAL].pd_option != ESP_PD_OPTION_ON);
|
||||
#endif
|
||||
|
||||
return top_pd_allowed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user