From patchwork Mon Feb 1 12:07:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 8178491 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 636B6BEEE5 for ; Mon, 1 Feb 2016 12:07:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 931F4203B7 for ; Mon, 1 Feb 2016 12:07:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D6BD6203C4 for ; Mon, 1 Feb 2016 12:07:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932119AbcBAMHo (ORCPT ); Mon, 1 Feb 2016 07:07:44 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:46527 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753897AbcBAMHk (ORCPT ); Mon, 1 Feb 2016 07:07:40 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O1V014NTB0PZOB0@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Mon, 01 Feb 2016 21:07:37 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.113]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id D3.3B.04949.98A4FA65; Mon, 1 Feb 2016 21:07:37 +0900 (KST) X-AuditID: cbfee68d-f79646d000001355-42-56af4a89d8e5 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 0E.CF.13906.98A4FA65; Mon, 1 Feb 2016 21:07:37 +0900 (KST) Received: from localhost.localdomain ([10.113.62.216]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O1V003E0B0PE7F0@mmp1.samsung.com>; Mon, 01 Feb 2016 21:07:37 +0900 (KST) From: Jaehoon Chung To: linux-mmc@vger.kernel.org Cc: ulf.hansson@linaro.org, sonic.zhang@analog.com, robert.jarzmik@free.fr, andi.shyti@samsung.com, Jaehoon Chung Subject: [PATCH v2 01/11] mmc: atmel-mci: remove the MMC_DATA_STREAM flag Date: Mon, 01 Feb 2016 21:07:26 +0900 Message-id: <1454328456-22918-2-git-send-email-jh80.chung@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1454328456-22918-1-git-send-email-jh80.chung@samsung.com> References: <1454328456-22918-1-git-send-email-jh80.chung@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKLMWRmVeSWpSXmKPExsWyRsSkULfTa32YwZFOPYvtR56xWtz41cZq ceR/P6PFrDfCFne2NrNZHF8b7sDm8eqqo0f/us+sHneu7WHz6NuyitHj8ya5ANYoLpuU1JzM stQifbsErozpfTNZCj5zVvzousTWwNjH0cXIySEhYCJx5PdJJghbTOLCvfVsXYxcHEICKxgl vjR1MsEUvf5ziBkisZRR4t6mRywQzg9GibU3t7KCVLEJ6Ehs/3YcrENEQFbi558LYKOYBXoY Jf71LABLCAt4Sky+M5kZxGYRUJX4vuEQI4jNK+Am0TZxJjvEOjmJk8cmgw3lFHCX+Lf9G1iv EFDNxAN7wYZKCPSzS/TM+M0EMUhA4tvkQ0AncQAlZCU2HWCGmCMpcXDFDZYJjMILGBlWMYqm FiQXFCelFxnqFSfmFpfmpesl5+duYgSG9ul/z3p3MN4+YH2IUYCDUYmHd0PkujAh1sSy4src Q4ymQBsmMkuJJucDIyivJN7Q2MzIwtTE1NjI3NJMSZxXUepnsJBAemJJanZqakFqUXxRaU5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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 Remove the MMC_DATA_STREAM flag because it isn't used 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; } /*