Skip to content
Commit 34aeb386 authored by Peter Geis's avatar Peter Geis Committed by Svyatoslav Ryhel
Browse files

mmc: tegra: use max-frequency from device tree if provided



The driver currently hard-codes the max freqency for the sdhci
controllers. If the controller is unable to operate at the max
frequency, the mmc card will not be available on the first scan.
Subsequent scans will eventually find a working combination.

Fix this by allowing the driver to check for the max-frequency
property and default to the original value if it doesn't exist.

Signed-off-by: default avatarPeter Geis <pgwipeout@gmail.com>
Signed-off-by: default avatarSvyatoslav Ryhel <clamor95@gmail.com>
parent 944ac340
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment