OSDN Git Service

mmc: core: Separate out the mmc_switch status check so it can be re-used
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 7 May 2015 10:10:19 +0000 (13:10 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:06:56 +0000 (09:06 +0200)
commited16f58dc00d47439c201ab18ca4d981210bcafd
tree469b5c2f61723e8bd9894234778b3a5b48daef24
parent436f8daa6f5a2943a20df8f3447da250b46f0d87
mmc: core: Separate out the mmc_switch status check so it can be re-used

Make a separate function to do the mmc_switch status check
so it can be re-used. This is preparation for adding support
for HS400 re-tuning.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_ops.c
drivers/mmc/core/mmc_ops.h