diff mbox

mmc: block: change stop errors to info

Message ID 1410940242-2792-1-git-send-email-johanru@axis.com (mailing list archive)
State New, archived
Headers show

Commit Message

Johan Rudholm Sept. 17, 2014, 7:50 a.m. UTC
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>
---
 drivers/mmc/card/block.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Ulf Hansson Sept. 17, 2014, 11:01 p.m. UTC | #1
On 17 September 2014 09:50, Johan Rudholm <johan.rudholm@axis.com> wrote:
> 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>

Thanks! Applied for next.

Kind regards
Uffe

> ---
>  drivers/mmc/card/block.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
> index 452782b..fea0376 100644
> --- a/drivers/mmc/card/block.c
> +++ b/drivers/mmc/card/block.c
> @@ -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);
>
> --
> 1.7.2.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 452782b..fea0376 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -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);