mmc: sdhci-msm: Factor out function to set/get msm clock rate
authorRitesh Harjani <riteshh@codeaurora.org>
Tue, 10 Jan 2017 07:00:46 +0000 (12:30 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:28 +0000 (13:20 +0100)
commit0fb8a3d46b0393a8580ed78a0bc9267869f76b3c
treeaa501ce72a8b5a9164c93bb6f237a866481f0170
parentb54aaa8a4fd829ecffa140b04b59d08ffe20a790
mmc: sdhci-msm: Factor out function to set/get msm clock rate

Factor out msm_set/get_clock_rate_for_bus_mode for it's later
use in changing the tuning sequence for selecting HS400
bus speed mode.

Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Tested-by: Jeremy McNicoll <jeremymc@redhat.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-msm.c