提交 9bc21848 编写于 作者: M Michał Mirosław 提交者: Chris Ball

mmc: core: mmc_add_card(): fix missing break in switch statement

Fixes a cosmetic bug that affects printk() for SD-combo cards.
Reported-by: NPrashanth Bhat <prashanth.bhat@manipal.net>
Signed-off-by: NMichał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 9fdcdbb0
...@@ -284,6 +284,7 @@ int mmc_add_card(struct mmc_card *card) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册