projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fdcdbb
)
mmc: core: mmc_add_card(): fix missing break in switch statement
author
Michał Mirosław
<mirq-linux@rere.qmqm.pl>
Sat, 9 Apr 2011 06:16:47 +0000
(08:16 +0200)
committer
Chris Ball
<cjb@laptop.org>
Wed, 27 Apr 2011 23:15:07 +0000
(19:15 -0400)
Fixes a cosmetic bug that affects printk() for SD-combo cards.
Reported-by: Prashanth Bhat <prashanth.bhat@manipal.net>
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/bus.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/bus.c
b/drivers/mmc/core/bus.c
index 63667a8f140c458722c54b33b3e91d54e4cca029..d6d62fd07ee9fd0b492d6c7e0a80d116840009b2 100644
(file)
--- a/
drivers/mmc/core/bus.c
+++ b/
drivers/mmc/core/bus.c
@@
-284,6
+284,7
@@
int mmc_add_card(struct mmc_card *card)
type = "SD-combo";
if (mmc_card_blockaddr(card))
type = "SDHC-combo";
+ break;
default:
type = "?";
break;