Skip to content
This repository has been archived by the owner on Oct 5, 2018. It is now read-only.

mmc: dw_mmc: correct bus_hz #37

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/mmc/host/dw_mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2655,9 +2655,9 @@ int dw_mci_probe(struct dw_mci *host)
goto err_clk_biu;
}

host->bus_hz = clk_get_rate(host->ciu_clk);
}

host->bus_hz = clk_get_rate(host->biu_clk);
if (!host->bus_hz) {
dev_err(host->dev,
"Platform data must supply bus speed\n");
Expand Down