mmc: core: mmc_add_card(): fix missing break in switch statement
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>
This commit is contained in:
parent
9fdcdbb0d8
commit
9bc21848b1
@ -284,6 +284,7 @@ int mmc_add_card(struct mmc_card *card)
|
|||||||
type = "SD-combo";
|
type = "SD-combo";
|
||||||
if (mmc_card_blockaddr(card))
|
if (mmc_card_blockaddr(card))
|
||||||
type = "SDHC-combo";
|
type = "SDHC-combo";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
type = "?";
|
type = "?";
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user