Tanmay Kathpalia aebb523a23 mmc: mmc-uclass: Use max-frequency from device tree with default handling
When the max-frequency property is not specified in the device tree,
the function now explicitly defaults to 0 instead of leaving cfg->f_max
uninitialized. This allows sdhci_setup_cfg() to properly detect the
absence of a device tree specified frequency and fall back to using
the host controller's maximum base clock frequency from the capabilities
register.

Signed-off-by: Tanmay Kathpalia <tanmay.kathpalia@altera.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2025-12-11 20:53:50 +08:00
..
2025-11-07 15:34:22 -06:00
2025-10-30 12:32:12 -06:00
2025-12-08 13:17:27 -06:00
2025-12-08 13:17:27 -06:00
2025-12-08 13:17:27 -06:00
2025-12-08 13:17:27 -06:00
2025-11-07 13:01:12 -06:00
2025-11-28 16:39:08 -06:00
2025-12-08 13:17:27 -06:00
2025-12-01 13:57:32 +08:00
2025-11-07 15:34:22 -06:00