From patchwork Tue Jan 28 08:24:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 3545631 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 80D2BC02DC for ; Tue, 28 Jan 2014 08:24:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8384520138 for ; Tue, 28 Jan 2014 08:24:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CE5BB2015A for ; Tue, 28 Jan 2014 08:24:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754599AbaA1IY2 (ORCPT ); Tue, 28 Jan 2014 03:24:28 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:48734 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754471AbaA1IY1 (ORCPT ); Tue, 28 Jan 2014 03:24:27 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N0300MH5RCPOHA0@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Tue, 28 Jan 2014 17:24:25 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.116]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 3B.F7.10092.93967E25; Tue, 28 Jan 2014 17:24:25 +0900 (KST) X-AuditID: cbfee68f-b7f156d00000276c-d3-52e76939f8f1 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 13.9C.29263.93967E25; Tue, 28 Jan 2014 17:24:25 +0900 (KST) Received: from [10.252.81.186] by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N0300LU7RCP4QD0@mmp1.samsung.com>; Tue, 28 Jan 2014 17:24:25 +0900 (KST) Message-id: <52E76958.8090901@samsung.com> Date: Tue, 28 Jan 2014 17:24:56 +0900 From: Jaehoon Chung User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-version: 1.0 To: "linux-mmc@vger.kernel.org" Cc: Chris Ball , Seungwon Jeon Subject: [PATCH v2 5/8] mmc: dw-mmc: fix minor coding style. Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeLIzCtJLcpLzFFi42JZI2JSomuZ+TzI4EKPkcWEy9sZLY7872e0 +HD/IrMDs8eNVwuZPPq2rGL0+LxJLoA5issmJTUnsyy1SN8ugSujvTun4D9bRcs6lwbG66xd jJwcEgImEu+urmOHsMUkLtxbz9bFyMUhJLCUUeLVx0fsMEULjk1lhUgsYpRY+raLBSQhJPCa UeLiarBJvAJaEr/md4HZLAKqEt8+vgez2QR0JLZ/O84EYosKhElMPXGVBaJeUOLH5HtANgeH iIC1RPNvWZAws4C7xJSPt8D2CgvYSDycvZ8FIq4jsb91GhuELS+xec1bZpB7JASa2SWuv1sC tVdA4tvkQ2AzJQRkJTYdYIa4X1Li4IobLBMYRWYh2TwLydhZSMYuYGRexSiaWpBcUJyUXmSs V5yYW1yal66XnJ+7iREYBaf/PevfwXj3gPUhxmSglROZpUST84FRlFcSb2hsZmRhamJqbGRu aUaasJI47/2HSUFCAumJJanZqakFqUXxRaU5qcWHGJk4OKUaGNUEAw5e/OHHYOGw9keA8Gvv lOp/3LnuzAzcpy5VTZXwvbZ4xU8Zgfrv89RO80hKc3GeX37gy/zyd+5K1/4JCDxVDohV3O5V evWHrSf7Z7dtTUwr5h3iPd/0S2FqXH3T9EW3fzDITWc2U/OXs9HR4nBbkmi58Ri39Z3c2mst d+IfRWlJ/fDrUmIpzkg01GIuKk4EAPI4jyKYAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEIsWRmVeSWpSXmKPExsVy+t9jAV3LzOdBBp/X6VhMuLyd0eLI/35G iw/3LzI7MHvceLWQyaNvyypGj8+b5AKYoxoYbTJSE1NSixRS85LzUzLz0m2VvIPjneNNzQwM dQ0tLcyVFPISc1NtlVx8AnTdMnOANikplCXmlAKFAhKLi5X07TBNCA1x07WAaYzQ9Q0Jgusx MkADCWsYM9q7cwr+s1W0rHNpYLzO2sXIySEhYCKx4NhUKFtM4sK99WxdjFwcQgKLGCWWvu1i AUkICbxmlLi4GqyIV0BL4tf8LjCbRUBV4tvH92A2m4COxPZvx5lAbFGBMImpJ66yQNQLSvyY fA/I5uAQEbCWaP4tCxJmFnCXmPLxFjuILSxgI/Fw9n4WiLiOxP7WaWwQtrzE5jVvmScw8s1C MmkWkrJZSMoWMDKvYhRNLUguKE5KzzXUK07MLS7NS9dLzs/dxAiOsWdSOxhXNlgcYhTgYFTi 4e3ofBYkxJpYVlyZe4hRgoNZSYT37BSgEG9KYmVValF+fFFpTmrxIcZkoEcnMkuJJucD4z+v JN7Q2MTMyNLI3NDCyNicNGElcd4DrdaBQgLpiSWp2ampBalFMFuYODilGhinuSWWHz259zLn tcpmgzmnLZNi1qmcly+tenHrm8SnpJJTQqzRMmzmM2at3H1Xoe7YW78et8Ylm9ZqT3AN/5Ai +l/Wsu700YdCOpeXqM9deY4nd9mZ4tCPDdsWmzfXT/B6FfVd4cqH1CrJowcEPzyO27t585QX YfpzcrLdNrBYHtgwa/bdVz+jlFiKMxINtZiLihMBEeSEz/UCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixed the coding style. Signed-off-by: Jaehoon Chung --- 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 fed82da..2cdfccb 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 */