diff options
author | Johan Rudholm | 2015-01-12 15:38:04 +0100 |
---|---|---|
committer | Ulf Hansson | 2015-01-19 09:56:27 +0100 |
commit | 83533ab28380f6957af39a7b322e639e42dbdaf1 (patch) | |
tree | 2b7a8f3e11e0beef743e13fbf2862605b279d611 /include | |
parent | 25185f3f31c924eecc6ff4f55f7acceabf24de11 (diff) |
mmc: core: always check status after reset
Always check if the card is alive after a successful reset. This allows
us to remove mmc_hw_reset_check(), leaving mmc_hw_reset() as the only
card reset interface.
Signed-off-by: Johan Rudholm <johanru@axis.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmc/core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index cb2b0400d284..160448f920ac 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h @@ -182,7 +182,6 @@ extern int mmc_set_blocklen(struct mmc_card *card, unsigned int blocklen); extern int mmc_set_blockcount(struct mmc_card *card, unsigned int blockcount, bool is_rel_write); extern int mmc_hw_reset(struct mmc_host *host); -extern int mmc_hw_reset_check(struct mmc_host *host); extern int mmc_can_reset(struct mmc_card *card); extern void mmc_set_data_timeout(struct mmc_data *, const struct mmc_card *); |