diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-12-05 12:59:40 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-12-08 09:20:47 +0100 |
commit | d1785326891c2f9919163be5dae8f2538cfcae58 (patch) | |
tree | 0599f9c6d18ca1f0b70cbd8deed2b266b238547d /include/linux/percpu_ida.h | |
parent | fe5afb13d46e76b07ab7e732f2b694dcafef4d9d (diff) | |
download | blackbird-op-linux-d1785326891c2f9919163be5dae8f2538cfcae58.tar.gz blackbird-op-linux-d1785326891c2f9919163be5dae8f2538cfcae58.zip |
mmc: sdhci-esdhc-imx: Convert to mmc_send_tuning()
Instead of having a local function taking care of sending the tuning
command, let's use the common mmc_send_tuning() API provided by the mmc
core. In this way the request will be handled as any other request by
sdhci core.
As an effect of this change, the pm_runtime_get_sync() call at
esdhc_prepare_tuning() isn't needed any more.
This patch will also introduce another change in behavior, since before
the response pattern to the tuning command wasn't verified by
sdhci-esdhc-imx. The mmc_send_tuning() does that.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Dong Aisheng <b29396@freescale.com>
Diffstat (limited to 'include/linux/percpu_ida.h')
0 files changed, 0 insertions, 0 deletions