diff options
author | Alexey Skidanov <alexey.skidanov@sandisk.com> | 2015-01-29 10:49:43 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-01-29 11:15:12 +0100 |
commit | 0501be6429e4eb02f417ad83eacd84b8c57b0283 (patch) | |
tree | c56a75eb3b4c00bdab0925cb6e72e15e592684d4 /drivers/mmc/core/core.c | |
parent | 14460dbaf7a5a0488963fdb8232ad5c8a8cca7b7 (diff) | |
download | lwn-0501be6429e4eb02f417ad83eacd84b8c57b0283.tar.gz lwn-0501be6429e4eb02f417ad83eacd84b8c57b0283.zip |
mmc: Resolve BKOPS compatability issue
This patch is coming to fix compatibility issue of BKOPS_EN field of EXT_CSD.
In eMMC-5.1, BKOPS_EN was changed, and now it has two operational bits:
Bit 0 - MANUAL_EN
Bit 1 - AUTO_EN
In previous eMMC revisions, only Bit 0 was supported.
Signed-off-by: Alexey Skidanov <alexey.skidanov@sandisk.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/core.c')
-rw-r--r-- | drivers/mmc/core/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 1be7055548cb..0dc64e6e00d4 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -275,7 +275,7 @@ void mmc_start_bkops(struct mmc_card *card, bool from_exception) BUG_ON(!card); - if (!card->ext_csd.bkops_en || mmc_card_doing_bkops(card)) + if (!card->ext_csd.man_bkops_en || mmc_card_doing_bkops(card)) return; err = mmc_read_bkops_status(card); |