mmc: cb710: fix indentation issue in if block
There is an if block that is not indented, fix this. Also add a break statement on the default case to clean up a cppcheck warning. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
68539e2bc3
commit
c16e9b7656
@ -566,7 +566,7 @@ static void cb710_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
|
||||
|
||||
cb710_mmc_select_clock_divider(mmc, ios->clock);
|
||||
|
||||
if (ios->power_mode != reader->last_power_mode)
|
||||
if (ios->power_mode != reader->last_power_mode) {
|
||||
switch (ios->power_mode) {
|
||||
case MMC_POWER_ON:
|
||||
err = cb710_mmc_powerup(slot);
|
||||
@ -589,7 +589,9 @@ static void cb710_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
|
||||
break;
|
||||
case MMC_POWER_UP:
|
||||
default:
|
||||
/* ignore */;
|
||||
/* ignore */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
cb710_mmc_enable_4bit_data(slot, ios->bus_width != MMC_BUS_WIDTH_1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user