All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 4/7] mmc: dw_mmc: fix minor coding style.
@ 2014-03-03  2:36 Jaehoon Chung
  2014-03-06  7:31 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Jaehoon Chung @ 2014-03-03  2:36 UTC (permalink / raw)
  To: linux-mmc; +Cc: Chris Ball, Ulf Hansson, Seungwon Jeon

Fixed the coding style.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
Changelog V4:
	- None
Changelog V3:
	- None
Changelog V2:
	- None

 drivers/mmc/host/dw_mmc.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 9bac3ed..ac16308 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -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 */
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v4 4/7] mmc: dw_mmc: fix minor coding style.
  2014-03-03  2:36 [PATCH v4 4/7] mmc: dw_mmc: fix minor coding style Jaehoon Chung
@ 2014-03-06  7:31 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2014-03-06  7:31 UTC (permalink / raw)
  To: Jaehoon Chung; +Cc: linux-mmc, Chris Ball, Seungwon Jeon

On 3 March 2014 03:36, Jaehoon Chung <jh80.chung@samsung.com> wrote:
> Fixed the coding style.
>
> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>

Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

> ---
> Changelog V4:
>         - None
> Changelog V3:
>         - None
> Changelog V2:
>         - None
>
>  drivers/mmc/host/dw_mmc.c |    5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
> index 9bac3ed..ac16308 100644
> --- a/drivers/mmc/host/dw_mmc.c
> +++ b/drivers/mmc/host/dw_mmc.c
> @@ -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 */
> --
> 1.7.9.5

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-06  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-03  2:36 [PATCH v4 4/7] mmc: dw_mmc: fix minor coding style Jaehoon Chung
2014-03-06  7:31 ` Ulf Hansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.