diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-01-08 10:09:33 -0500 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-02-23 10:40:30 -0500 |
commit | 4509f847751c9d2a724f37fe831393fbac34b80f (patch) | |
tree | 957e20f3ce33a9cc297703159690ec336c42116e /drivers/mmc/core/core.c | |
parent | 1d4d77444bf4212c44585146a2b353ca24c815f9 (diff) |
mmc: core: Add ignore_crc flag to __mmc_switch
Instead of handle specific adaptations, releated to certain switch
operations, inside __mmc_switch, push this to be handled by the caller
instead.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/core/core.c')
-rw-r--r-- | drivers/mmc/core/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 1935812e4215..dc7a5fb81a5c 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -285,7 +285,8 @@ void mmc_start_bkops(struct mmc_card *card, bool from_exception) | |||
285 | } | 285 | } |
286 | 286 | ||
287 | err = __mmc_switch(card, EXT_CSD_CMD_SET_NORMAL, | 287 | err = __mmc_switch(card, EXT_CSD_CMD_SET_NORMAL, |
288 | EXT_CSD_BKOPS_START, 1, timeout, use_busy_signal, true); | 288 | EXT_CSD_BKOPS_START, 1, timeout, |
289 | use_busy_signal, true, false); | ||
289 | if (err) { | 290 | if (err) { |
290 | pr_warn("%s: Error %d starting bkops\n", | 291 | pr_warn("%s: Error %d starting bkops\n", |
291 | mmc_hostname(card->host), err); | 292 | mmc_hostname(card->host), err); |