From patchwork Mon Mar 31 15:18:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 3916481 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 434539F2B6 for ; Mon, 31 Mar 2014 15:55:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 705F12037B for ; Mon, 31 Mar 2014 15:55:25 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7AC362024C for ; Mon, 31 Mar 2014 15:55:24 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WUeWG-0002TZ-Cf; Mon, 31 Mar 2014 15:53:05 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WUeVg-0006Yf-1w; Mon, 31 Mar 2014 15:52:28 +0000 Received: from bombadil.infradead.org ([2001:1868:205::9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WUeUf-0006S4-KO for linux-arm-kernel@merlin.infradead.org; Mon, 31 Mar 2014 15:51:25 +0000 Received: from mail-wi0-f179.google.com ([209.85.212.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WUdzS-0007yz-2t for linux-arm-kernel@lists.infradead.org; Mon, 31 Mar 2014 15:19:10 +0000 Received: by mail-wi0-f179.google.com with SMTP id z2so1762497wiv.12 for ; Mon, 31 Mar 2014 08:18:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4Zuq9KMpI9CDaV+OpZkVyTPH81yufMQon8lqJ0SEryM=; b=fBSVSgnn0b2ftJx9vNinenjixQ/pB5Y0GNILWjkOcxWFE3ln6ug49HfYCbINSaHZLv icOncP9/wVlI49CWVGK0GYGFaLzWD+qZNsIhapLWfsOCgmo6bE6o7R5PvlJzO9iVIODt epkET5PTBokGKBMD7lZx2Qo0PB5P3BY0ekyGbwLDrPhs3HnWjh4sHSKVAVupf+6nGnji vIqPUhW11YWtbcmWoHo6JPz38XCV2CkPq6VZ68v7HqKwRzkEO4do1kQcfrdSLR7TYi8b mV/lAuzMc5qXHTLH+P6nurCqTBas/Da/248QTUf5OLi74oR8ju/dMtsHjb5dKqeaskg4 gVjQ== X-Gm-Message-State: ALoCoQl8wpcDz+E1WhJtmqpCdTAs0MXXqT2YApl/Czn+ZKu6G6nf9W3U/4hIHNnSi4VZYeJRnLIM X-Received: by 10.180.12.233 with SMTP id b9mr12944009wic.8.1396279126208; Mon, 31 Mar 2014 08:18:46 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id wl6sm13547488wjb.3.2014.03.31.08.18.44 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 31 Mar 2014 08:18:45 -0700 (PDT) From: Ulf Hansson To: linux-arm-kernel@lists.infradead.org, Russell King , Linus Walleij Subject: [PATCH V2 12/19] mmc: mmci: Enable MMC_CAP_CMD23 Date: Mon, 31 Mar 2014 17:18:13 +0200 Message-Id: <1396279100-2920-13-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1396279100-2920-1-git-send-email-ulf.hansson@linaro.org> References: <1396279100-2920-1-git-send-email-ulf.hansson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140331_081910_279270_1606DB84 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: devicetree@vger.kernel.org, Ulf Hansson , Rob Herring X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 This is pure software configuration, which mmci has been supporting for a while. Let's enable it as default so we can take benefit from it. Signed-off-by: Ulf Hansson --- drivers/mmc/host/mmci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 892921d..8db90fd 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -1538,6 +1538,9 @@ static int mmci_probe(struct amba_device *dev, mmc->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; } + /* We support these capabilities. */ + mmc->caps |= MMC_CAP_CMD23; + if (variant->busy_detect) { mmci_ops.card_busy = mmci_card_busy; mmci_write_datactrlreg(host, MCI_ST_DPSM_BUSYMODE);