Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e6e5956 authored by Siba Prasad's avatar Siba Prasad
Browse files

mmc: card: Ratelimit the error log in mmc_blk_cmd_recovery()



Ratelimit the error log in order to avoid flooding the logs in
case of function mmc_blk_cmd_recovery() gets called repeatedly.

Change-Id: Ic72087382fca2e188f1bbd8195a805cd751ed22e
Signed-off-by: default avatarSiba Prasad <sibap@codeaurora.org>
parent bc399a65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1701,7 +1701,7 @@ static int mmc_blk_cmd_recovery(struct mmc_card *card, struct request *req,
		mmc_retune_recheck(card->host);

		prev_cmd_status_valid = false;
		pr_err("%s: error %d sending status command, %sing\n",
		pr_err_ratelimited("%s: error %d sending status command, %sing\n",
		       req->rq_disk->disk_name, err, retry ? "retry" : "abort");
	}