commit | 87a18a6a565271a886d48df49e5e27ba99e26c60 | [log] [tgz] |
---|---|---|
author | Chaotian Jing <chaotian.jing@mediatek.com> | Thu May 19 16:47:40 2016 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jul 25 10:34:08 2016 +0200 |
tree | 0a4291c2d102704431a90b3465b01473e788be83 | |
parent | e613cc477c777a175c89d607d1f7a8ef528d2c43 [diff] |
mmc: mmc: Use ->card_busy() to detect busy cards in __mmc_switch() Some MMC hosts do not support MMC_CAP_WAIT_WHILE_BUSY, but implements the ->card_busy() callback. In such cases, extend __mmc_switch() to use this method to check card status after switch command. Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>