diff options
| author | Zhou Li <clizhou@codeaurora.org> | 2017-11-01 10:18:50 +0800 |
|---|---|---|
| committer | Zhou Li <clizhou@codeaurora.org> | 2017-11-01 13:47:37 +0800 |
| commit | e9bcddf16c35c93731e68c7b5eb2f3a4d5a63b64 (patch) | |
| tree | c0244dcbffdd7337f77ef2d01fb6075f5062a389 | |
| parent | 9c23726ad4dfc95009710805647555503635ba2d (diff) | |
mmc: sdhci: Remove some redundant stack information
This patch is used to remove the stack information
log in case of sdhci exception.
Change-Id: I5e3a56515f4bde092f81739ea22be2d1cdf74d4d
Signed-off-by: Zhou Li <clizhou@codeaurora.org>
| -rw-r--r-- | drivers/mmc/host/sdhci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 5906bba0aeff..8055fddac722 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1702,7 +1702,8 @@ static void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq) sdhci_runtime_pm_get(host); if (sdhci_check_state(host)) { sdhci_dump_state(host); - WARN(1, "sdhci in bad state"); + pr_err("%s: sdhci in bad state\n", + mmc_hostname(host->mmc)); mrq->cmd->error = -EIO; if (mrq->data) mrq->data->error = -EIO; |
