diff options
| author | Tanmay Kathpalia <[email protected]> | 2026-01-16 04:50:31 -0800 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2026-01-22 10:38:48 +0800 |
| commit | efc26685682987e1bea06bd821d7960501326edf (patch) | |
| tree | 8db929d9a522fcd666c1338c619ad59c5a6b217b /scripts/checkpatch.pl | |
| parent | dab2c154f605b2f6742aa107dab2b55b9824fdf5 (diff) | |
mmc: mmc-uclass: Use max-frequency from device tree with driver default fallback
Use dev_read_u32_default() instead of dev_read_u32() to read the
"max-frequency" property from device tree. This preserves the driver-set
cfg->f_max value when the optional "max-frequency" property is not
present, ensuring the controller's default frequency is used as fallback
rather than being overwritten.
Suggested-by: Marek Vasut <[email protected]>
Signed-off-by: Tanmay Kathpalia <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
