OSDN Git Service

mmc: block: change stop errors to info
authorJohan Rudholm <johan.rudholm@axis.com>
Wed, 17 Sep 2014 07:50:42 +0000 (09:50 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Sep 2014 22:03:37 +0000 (00:03 +0200)
Stop command errors are not fatal to the transfer since we make sure
that the card returns to the transfer state and check the card status.
Change an unnecessary error to an info.

Signed-off-by: Johan Rudholm <johanru@axis.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c

index e248b96..5d27997 100644 (file)
@@ -977,7 +977,7 @@ static int mmc_blk_cmd_recovery(struct mmc_card *card, struct request *req,
                return ERR_CONTINUE;
 
        /* Now for stop errors.  These aren't fatal to the transfer. */
-       pr_err("%s: error %d sending stop command, original cmd response %#x, card status %#x\n",
+       pr_info("%s: error %d sending stop command, original cmd response %#x, card status %#x\n",
               req->rq_disk->disk_name, brq->stop.error,
               brq->cmd.resp[0], status);