Skip to content

Commit

Permalink
mmc: core: mmc_add_card(): fix missing break in switch statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michał Mirosław authored and Chris Ball committed Apr 27, 2011
1 parent 9fdcdbb commit 9bc2184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mmc/core/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9bc2184

Please sign in to comment.