summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorUri Yanai <uri.yanai@sandisk.com>2017-02-07 18:00:00 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-14 09:10:59 +0100
commit6962c2fb201878722ef78b513dae7c22dfa4919c (patch)
tree1b0a17976191fe9e814e92199830e680f1fb9e9a /drivers/mmc
parente21e6fdd2935e147f845de7ddf39d6204a075a46 (diff)
downloadop-kernel-dev-6962c2fb201878722ef78b513dae7c22dfa4919c.zip
op-kernel-dev-6962c2fb201878722ef78b513dae7c22dfa4919c.tar.gz
mmc: MAN_BKOPS_EN inverse debug message logic
Inverse the logic for printing the debug message. In mmc_decode_ext_csd() print message when MAN_BKOPS_EN is set Signed-off-by: Uri Yanai <uri.yanai@sandisk.com> Signed-off-by: Alex Lemberg <alex.lemberg@sandisk.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index f1a451e..1b67e30 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -543,8 +543,8 @@ static int mmc_decode_ext_csd(struct mmc_card *card, u8 *ext_csd)
EXT_CSD_MANUAL_BKOPS_MASK);
card->ext_csd.raw_bkops_status =
ext_csd[EXT_CSD_BKOPS_STATUS];
- if (!card->ext_csd.man_bkops_en)
- pr_debug("%s: MAN_BKOPS_EN bit is not set\n",
+ if (card->ext_csd.man_bkops_en)
+ pr_debug("%s: MAN_BKOPS_EN bit is set\n",
mmc_hostname(card->host));
}
OpenPOWER on IntegriCloud