From patchwork Fri Jan 29 04:06:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 8158461 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 730799FE6C for ; Fri, 29 Jan 2016 04:06:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D326201F2 for ; Fri, 29 Jan 2016 04:06:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3189C2035E for ; Fri, 29 Jan 2016 04:06:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753418AbcA2EGW (ORCPT ); Thu, 28 Jan 2016 23:06:22 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:44354 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753403AbcA2EGV (ORCPT ); Thu, 28 Jan 2016 23:06:21 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O1P029OD4QHHIC0@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Fri, 29 Jan 2016 13:06:17 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.114]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 1F.D3.04790.935EAA65; Fri, 29 Jan 2016 13:06:17 +0900 (KST) X-AuditID: cbfee691-f79766d0000012b6-71-56aae5392ba0 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id C9.34.09068.935EAA65; Fri, 29 Jan 2016 13:06:17 +0900 (KST) Received: from localhost.localdomain ([10.113.62.216]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O1P00AR64QHJ370@mmp2.samsung.com>; Fri, 29 Jan 2016 13:06:17 +0900 (KST) From: Jaehoon Chung To: linux-mmc@vger.kernel.org Cc: ulf.hansson@linaro.org, sonic.zhang@analog.com, robert.jarzmik@free.fr, Jaehoon Chung Subject: [PATCH 02/12] mmc: atmel-mci: remove the MMC_DATA_STREAM flag Date: Fri, 29 Jan 2016 13:06:01 +0900 Message-id: <1454040371-31625-3-git-send-email-jh80.chung@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1454040371-31625-1-git-send-email-jh80.chung@samsung.com> References: <1454040371-31625-1-git-send-email-jh80.chung@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHLMWRmVeSWpSXmKPExsWyRsSkSNfy6aowg673lhY3frWxWhz5389o MeuNsMWdrc1sFsfXhjuwery66ujRv+4zq8eda3vYPPq2rGL0+LxJLoA1issmJTUnsyy1SN8u gSvjw8zdzAVfOCumXtnO1sDYz9HFyMkhIWAisX/1ETYIW0ziwr31QDYXh5DACkaJmwc+sMEU TV69kB0iMYtRYv/aS4wgCSGBH4wSi5bqg9hsAjoS278dZwKxRQRkJX7+uQDWzCxQIrHt9mlW EFtYwE1i79wJYDaLgKrE2Y83wObwAsWPvZ4EtUxO4uSxyWA1nALuEhv2vGGB2OUmsfDZARaQ IyQE2tklJvx4xgwxSEDi2+RDQAkOoISsxKYDzBBzJCUOrrjBMoFReAEjwypG0dSC5ILipPQi U73ixNzi0rx0veT83E2MwGA+/e/ZxB2M9w9YH2IU4GBU4uF9kLkqTIg1say4MvcQoynQhonM UqLJ+cCYySuJNzQ2M7IwNTE1NjK3NFMS59WR/hksJJCeWJKanZpakFoUX1Sak1p8iJGJg1Oq gbGegf2OnNjrt7ui01atuRybs/Yo+9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ter-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=-6.9 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 Remove the MMC_DATA_STREAM flag because it doesn't use anymore. Signed-off-by: Jaehoon Chung Acked-by: Ludovic Desroches --- drivers/mmc/host/atmel-mci.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 851ccd9..7f9d3de 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c @@ -848,9 +848,7 @@ static u32 atmci_prepare_command(struct mmc_host *mmc, if (cmd->opcode == SD_IO_RW_EXTENDED) { cmdr |= ATMCI_CMDR_SDIO_BLOCK; } else { - if (data->flags & MMC_DATA_STREAM) - cmdr |= ATMCI_CMDR_STREAM; - else if (data->blocks > 1) + if (data->blocks > 1) cmdr |= ATMCI_CMDR_MULTI_BLOCK; else cmdr |= ATMCI_CMDR_BLOCK; @@ -1371,10 +1369,7 @@ static void atmci_start_request(struct atmel_mci *host, host->stop_cmdr |= ATMCI_CMDR_STOP_XFER; if (!(data->flags & MMC_DATA_WRITE)) host->stop_cmdr |= ATMCI_CMDR_TRDIR_READ; - if (data->flags & MMC_DATA_STREAM) - host->stop_cmdr |= ATMCI_CMDR_STREAM; - else - host->stop_cmdr |= ATMCI_CMDR_MULTI_BLOCK; + host->stop_cmdr |= ATMCI_CMDR_MULTI_BLOCK; } /*