From patchwork Fri Jan 29 05:40:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 8159401 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 D5343BEEE5 for ; Fri, 29 Jan 2016 05:41:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0D52A20265 for ; Fri, 29 Jan 2016 05:41:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B2CB32024F for ; Fri, 29 Jan 2016 05:41:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751271AbcA2FlD (ORCPT ); Fri, 29 Jan 2016 00:41:03 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:45205 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751111AbcA2FlB (ORCPT ); Fri, 29 Jan 2016 00:41:01 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O1P01O1094BD090@mailout1.samsung.com> for linux-mmc@vger.kernel.org; Fri, 29 Jan 2016 14:40:59 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.115]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id F8.2C.04949.B6BFAA65; Fri, 29 Jan 2016 14:40:59 +0900 (KST) X-AuditID: cbfee68d-f79646d000001355-75-56aafb6bd3e8 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id DB.5D.09068.B6BFAA65; Fri, 29 Jan 2016 14:40:59 +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 <0O1P00IMX94A2N80@mmp2.samsung.com>; Fri, 29 Jan 2016 14:40:59 +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: [RESEND PATCH 01/11] mmc: atmel-mci: remove the MMC_DATA_STREAM flag Date: Fri, 29 Jan 2016 14:40:47 +0900 Message-id: <1454046057-32318-2-git-send-email-jh80.chung@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1454046057-32318-1-git-send-email-jh80.chung@samsung.com> References: <1454046057-32318-1-git-send-email-jh80.chung@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPLMWRmVeSWpSXmKPExsWyRsSkWDf796owg653+hY3frWxWhz5389o MeuNsMWdrc1sFsfXhjuwery66ujRv+4zq8eda3vYPPq2rGL0+LxJLoA1issmJTUnsyy1SN8u gSvjw8zdzAVfOCumXtnO1sDYz9HFyMkhIWAicWvdRBYIW0ziwr31bF2MXBxCAisYJY5f/MYE U/Tk5Up2iMQsRon/F+9BOT8YJdasXswOUsUmoCOx/dtxsA4RAVmJn38usIHYzAIlEttun2YF sYUFfCU2Xz4JZrMIqEo0H5nNCGLzCrhJdP/sgtomJ3Hy2GSwGk4Bd4mN7dPBaoSAalbsXcgM slhCoJ1d4t6vZUwQgwQkvk0+BPQDB1BCVmLTAWaIOZISB1fcYJnAKLyAkWEVo2hqQXJBcVJ6 kaFecWJucWleul5yfu4mRmA4n/73rHcH4+0D1ocYBTgYlXh4O9JXhQmxJpYVV+YeYjQF2jCR WUo0OR8YNXkl8YbGZkYWpiamxkbmlmZK4ryKUj+DhQTSE0tSs1NTC1KL4otKc1KLDzEycXBK NTA6vmx8P/8Xq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: 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=-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; } /*