]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mmc: dw_mmc: fix minor coding style.
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 3 Mar 2014 02:36:44 +0000 (11:36 +0900)
committerChris Ball <chris@printf.net>
Mon, 12 May 2014 22:04:33 +0000 (18:04 -0400)
Fixed an indentation block.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/dw_mmc.c

index 81991eca567161a3567c8c7e6a2140fe4bd4ef47..7020e14717a4c0150082fe88c5355f36a8c7a84e 100644 (file)
@@ -257,9 +257,8 @@ static u32 dw_mci_prepare_command(struct mmc_host *mmc, struct mmc_command *cmd)
            (cmd->opcode == SD_IO_RW_DIRECT &&
             ((cmd->arg >> 9) & 0x1FFFF) == SDIO_CCCR_ABORT))
                cmdr |= SDMMC_CMD_STOP;
-       else
-               if (cmd->opcode != MMC_SEND_STATUS && cmd->data)
-                       cmdr |= SDMMC_CMD_PRV_DAT_WAIT;
+       else if (cmd->opcode != MMC_SEND_STATUS && cmd->data)
+               cmdr |= SDMMC_CMD_PRV_DAT_WAIT;
 
        if (cmd->flags & MMC_RSP_PRESENT) {
                /* We expect a response, so set this bit */