From patchwork Fri Nov 9 11:39:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 12784 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7292E4C16A7 for ; Fri, 9 Nov 2012 11:46:03 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 29A17A18ED9 for ; Fri, 9 Nov 2012 11:46:03 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so5478728iej.11 for ; Fri, 09 Nov 2012 03:46:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=hs0bBdoxls//G3JqChdmJB5gsPCIsk7QFvGSd6qmORQ=; b=QyBKsa1H295Xb+syB9DMy4zgRzR3n0x0Uhy536B/JyFZfOeKr4SYpprjdQHemri1Og Fc7+K48MBMrJjQxxUAytBy3MJuHajHg7K3nv/epfWDwcfJwlUIPFN2+FPrdEfFKkEtoG xZG/YQxA/2TjJzU6L2UT/IhrjMwtG5WyJCr/ImD7ifAEgirB6/A4+bWS9Puxlw973Mdf DNxpeeoxNdUlazHqhNMUCnKUBVsXepCOuq8hxQZSYiU7IbPi2zMG/ueC85hVRnsU50gm SwPL/jUVfwX0B/dlFpAQ06j5l3A5DNBHeGHTR7+AILSq4QAs2FfE420gj13strsZIVVN RTRg== Received: by 10.50.161.169 with SMTP id xt9mr992650igb.62.1352461562943; Fri, 09 Nov 2012 03:46:02 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp15750igt; Fri, 9 Nov 2012 03:46:02 -0800 (PST) Received: by 10.68.224.8 with SMTP id qy8mr26001878pbc.88.1352461562375; Fri, 09 Nov 2012 03:46:02 -0800 (PST) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx.google.com with ESMTPS id f9si39074216paw.34.2012.11.09.03.46.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2012 03:46:02 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.220.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by mail-pa0-f44.google.com with SMTP id fb11so2946846pad.31 for ; Fri, 09 Nov 2012 03:46:02 -0800 (PST) Received: by 10.66.72.136 with SMTP id d8mr31087061pav.4.1352461562153; Fri, 09 Nov 2012 03:46:02 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id tm8sm17629901pbc.48.2012.11.09.03.45.59 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2012 03:46:01 -0800 (PST) From: Tushar Behera To: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Cc: cjb@laptop.org, patches@linaro.org Subject: [PATCH 3/8] mmc: sdhci: fix coding style in sdhci_finish_data Date: Fri, 9 Nov 2012 17:09:53 +0530 Message-Id: <1352461198-21941-4-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1352461198-21941-1-git-send-email-tushar.behera@linaro.org> References: <1352461198-21941-1-git-send-email-tushar.behera@linaro.org> X-Gm-Message-State: ALoCoQmacO6oePsuCB6l3LpQa8+B9frpjKVZTACV25iwOAMB1+oHJpYuNjjads7ABLt8kjZNJ0L6 Signed-off-by: Tushar Behera --- drivers/mmc/host/sdhci.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 2d3d76e..73bb41f 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -924,9 +924,9 @@ static void sdhci_finish_data(struct sdhci_host *host) host->data = NULL; if (host->flags & SDHCI_REQ_USE_DMA) { - if (host->flags & SDHCI_USE_ADMA) + if (host->flags & SDHCI_USE_ADMA) { sdhci_adma_table_post(host, data); - else { + } else { dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, (data->flags & MMC_DATA_READ) ? DMA_FROM_DEVICE : DMA_TO_DEVICE); @@ -964,8 +964,9 @@ static void sdhci_finish_data(struct sdhci_host *host) } sdhci_send_command(host, data->stop); - } else + } else { tasklet_schedule(&host->finish_tasklet); + } } static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd)