diff options
author | Uri Yanai <uri.yanai@sandisk.com> | 2017-02-07 17:00:00 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-02-14 09:10:59 +0100 |
commit | 6962c2fb201878722ef78b513dae7c22dfa4919c (patch) | |
tree | 1b0a17976191fe9e814e92199830e680f1fb9e9a /drivers/mmc | |
parent | mmc: meson-gx: add support for HS400 mode (diff) | |
download | linux-6962c2fb201878722ef78b513dae7c22dfa4919c.tar.xz linux-6962c2fb201878722ef78b513dae7c22dfa4919c.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index f1a451e48538..1b67e3085353 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)); } |