mmc: sdhci-msm: Factor out sdhci_msm_hc_select_mode
authorRitesh Harjani <riteshh@codeaurora.org>
Tue, 10 Jan 2017 07:00:45 +0000 (12:30 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:27 +0000 (13:20 +0100)
commitb54aaa8a4fd829ecffa140b04b59d08ffe20a790
treec27bb552a33d3defb6b8877fa83ab4b281c5462a
parent73a85069f91d35f6921fd9d9b2603f482b9c9bd1
mmc: sdhci-msm: Factor out sdhci_msm_hc_select_mode

This factors out sdhci_msm_hc_select_mode to later use
it during enhanced_strobe mode select.
It also further breaks sdhci_msm_hc_select_mode
into separate functions for configuring HS400 mode
or other modes.

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