diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2015-05-07 13:10:19 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-06-01 09:06:56 +0200 |
commit | ed16f58dc00d47439c201ab18ca4d981210bcafd (patch) | |
tree | 469b5c2f61723e8bd9894234778b3a5b48daef24 /drivers/mmc/core/mmc_ops.h | |
parent | 436f8daa6f5a2943a20df8f3447da250b46f0d87 (diff) | |
download | linux-ed16f58dc00d47439c201ab18ca4d981210bcafd.tar.gz linux-ed16f58dc00d47439c201ab18ca4d981210bcafd.tar.bz2 linux-ed16f58dc00d47439c201ab18ca4d981210bcafd.zip |
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>
Diffstat (limited to 'drivers/mmc/core/mmc_ops.h')
-rw-r--r-- | drivers/mmc/core/mmc_ops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/mmc_ops.h b/drivers/mmc/core/mmc_ops.h index 6f4b00ed93de..f498f9ae21f0 100644 --- a/drivers/mmc/core/mmc_ops.h +++ b/drivers/mmc/core/mmc_ops.h @@ -27,6 +27,7 @@ int mmc_spi_set_crc(struct mmc_host *host, int use_crc); int mmc_bus_test(struct mmc_card *card, u8 bus_width); int mmc_send_hpi_cmd(struct mmc_card *card, u32 *status); int mmc_can_ext_csd(struct mmc_card *card); +int mmc_switch_status_error(struct mmc_host *host, u32 status); #endif |