From patchwork Fri Jul 15 01:54:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 9231019 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D4A0D6075D for ; Fri, 15 Jul 2016 01:55:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C33A32830A for ; Fri, 15 Jul 2016 01:55:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B5F0228326; Fri, 15 Jul 2016 01:55:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B16F2830A for ; Fri, 15 Jul 2016 01:55:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751453AbcGOBzN (ORCPT ); Thu, 14 Jul 2016 21:55:13 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:38119 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751287AbcGOBzM (ORCPT ); Thu, 14 Jul 2016 21:55:12 -0400 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 <0OAC01SLU2NH1TD0@mailout1.samsung.com> for linux-mmc@vger.kernel.org; Fri, 15 Jul 2016 10:54:53 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.113]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 03.6A.05174.C6248875; Fri, 15 Jul 2016 10:54:53 +0900 (KST) X-AuditID: cbfee68d-f79876d000001436-1a-5788426c8402 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id F6.A1.02101.C6248875; Fri, 15 Jul 2016 10:54:52 +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 <0OAC009WC2NGXK80@mmp2.samsung.com>; Fri, 15 Jul 2016 10:54:52 +0900 (KST) From: Jaehoon Chung To: linux-mmc@vger.kernel.org Cc: ulf.hansson@linaro.org, shawn.lin@rock-chips.com, Jaehoon Chung Subject: [PATCH 2/2] mmc: dw_mmc: rockchip: unset the MMC_CAP_ERASE flag Date: Fri, 15 Jul 2016 10:54:51 +0900 Message-id: <1468547691-4525-2-git-send-email-jh80.chung@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1468547691-4525-1-git-send-email-jh80.chung@samsung.com> References: <1468547691-4525-1-git-send-email-jh80.chung@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGLMWRmVeSWpSXmKPExsWyRsSkUDfXqSPc4E0zk8WNX22sFkf+9zNa 3HmyntXi+NpwBxaPO9f2sHn8nbWfxaNvyypGj8+b5AJYorhsUlJzMstSi/TtErgyflw5xFgw n72ifVY3YwPjRLYuRk4OCQETic9b9jNB2GISF+6tB4pzcQgJrGCUuNo9H65o8r+nUIlZjBJr H3exQzg/GCWWX73HAlLFJqAjsf3bcbBRIgKyEj//XADrZhaIk1h09Cc7iC0s4CFx9lAXI4jN IqAqsWveBFYQm1fAVeLDnCPMENvkJE4emwwW5xRwk+jb8QRoDgfQMleJRRvKQPZKCPxnk7j4 tZsZYo6AxLfJh1hAaiSA9m46ADVGUuLgihssExiFFzAyrGIUTS1ILihOS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r2kXRn+fmsB+23dpy KZ/9fssT1wVhevv5V+04nr5hY8fbRrelfrs9n0xy6W0QFSh4Ps/5VJl9lHO17Y3H90zXZ3+9 U2ZedLHPsdjCNIFj9h4lluKMREMt5qLiRAB+adyvpgIAAA== 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-Virus-Scanned: ClamAV using ClamSMTP In dw_mmc.c, it's enabled by default. It doesn't need to set MMC_CAP_ERASE in rockchip anymore. Signed-off-by: Jaehoon Chung Acked-by: Shawn Lin --- drivers/mmc/host/dw_mmc-rockchip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-rockchip.c b/drivers/mmc/host/dw_mmc-rockchip.c index d3cf1f1..25eae35 100644 --- a/drivers/mmc/host/dw_mmc-rockchip.c +++ b/drivers/mmc/host/dw_mmc-rockchip.c @@ -294,10 +294,10 @@ static int dw_mci_rockchip_init(struct dw_mci *host) /* Common capabilities of RK3288 SoC */ static unsigned long dw_mci_rk3288_dwmmc_caps[4] = { - MMC_CAP_ERASE | MMC_CAP_CMD23, - MMC_CAP_ERASE | MMC_CAP_CMD23, - MMC_CAP_ERASE | MMC_CAP_CMD23, - MMC_CAP_ERASE | MMC_CAP_CMD23, + MMC_CAP_CMD23, + MMC_CAP_CMD23, + MMC_CAP_CMD23, + MMC_CAP_CMD23, }; static const struct dw_mci_drv_data rk2928_drv_data = {