projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09faf61
)
mmc: core: report tuning command execution failure reason
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 29 Jan 2016 09:44:05 +0000
(09:44 +0000)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:03:08 +0000
(11:03 +0100)
Print the error code when the tuning command fails. This allows the
reason for the failure to be reported, which aids debugging.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/core/core.c
b/drivers/mmc/core/core.c
index 319efdc1ad2158316f76a9d7cfbc1c50e62c1f2c..41b1e761965f7459c0d8f2849f7feb2c73f2ca30 100644
(file)
--- a/
drivers/mmc/core/core.c
+++ b/
drivers/mmc/core/core.c
@@
-1079,7
+1079,8
@@
int mmc_execute_tuning(struct mmc_card *card)
err = host->ops->execute_tuning(host, opcode);
if (err)
- pr_err("%s: tuning execution failed\n", mmc_hostname(host));
+ pr_err("%s: tuning execution failed: %d\n",
+ mmc_hostname(host), err);
else
mmc_retune_enable(host);