diff options
author | 2015-07-22 20:53:07 +0800 | |
---|---|---|
committer | 2015-07-24 10:18:37 +0200 | |
commit | 5924175755a0ed902d91f2f2660e914032fa63e5 (patch) | |
tree | 1e1becaad7d4de011a713d2c5ce34e305f1d88ae /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mmc: sdhci-esdhc-imx: move all non dt probe code into one function (diff) | |
download | linux-dev-5924175755a0ed902d91f2f2660e914032fa63e5.tar.xz linux-dev-5924175755a0ed902d91f2f2660e914032fa63e5.zip |
mmc: sdhci: make max-frequency property in device tree work
Device tree provides option to specify the max freqency with property
"max-frequency" in dts and common parse function mmc_of_parse() will
parse it and use this value to set host->f_max to tell the MMC core
the maxinum frequency the host works.
However, current sdhci driver will finally overwrite this value with
host->max_clk regardless of the max-frequency property.
This patch makes sure not overwrite the max-frequency set from device
tree and do basic sanity check.
Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
Reviewed-by: Johan Derycke <johan.derycke@barco.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions