projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69bd517
)
mmc: Log the error when init fails
author
Simon Glass
<sjg@chromium.org>
Fri, 20 Sep 2024 07:24:38 +0000
(09:24 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 3 Oct 2024 17:52:17 +0000
(11:52 -0600)
Add an error-return log to the call in mmc_init_device()
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc.c
b/drivers/mmc/mmc.c
index 7e702c3ae854d347a7b5b447761143a52bd54c00..e8870e30689c6604945e678a8129319694eb4725 100644
(file)
--- a/
drivers/mmc/mmc.c
+++ b/
drivers/mmc/mmc.c
@@
-3188,7
+3188,7
@@
int mmc_init_device(int num)
if (uclass_get_device_by_seq(UCLASS_MMC, num, &dev)) {
ret = uclass_get_device(UCLASS_MMC, num, &dev);
if (ret)
- return
ret
;
+ return
log_msg_ret("ini", ret)
;
}
m = mmc_get_mmc_dev(dev);