Attach slaves before calculating DCs.

This commit is contained in:
Florian Pose
2026-03-12 11:36:37 +01:00
parent 4e5b661674
commit c76b02ae2e

View File

@@ -989,11 +989,12 @@ void ec_fsm_master_state_scan_slave(
master->scan_index = master->slave_count;
wake_up_interruptible(&master->scan_queue);
ec_master_calc_dc(master);
// Attach slave configurations
ec_master_attach_slave_configs(master);
// Calculate DC (needs attached slaves due to reference clock selection)
ec_master_calc_dc(master);
#ifdef EC_EOE
// check if EoE processing has to be started
ec_master_eoe_start(master);