From patchwork Thu Apr 10 12:20:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 28176 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1B79820671 for ; Thu, 10 Apr 2014 12:21:35 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id m5sf864318qaj.1 for ; Thu, 10 Apr 2014 05:21:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=TD4S/5W0eA/gtxsmpScoqud6DIPGZj7tyJmsB3celrY=; b=MvKdHS+/jYYaTPhyzzHOwNPCkYmGjyZsT8vCDAaRhrhbDoODLyaQvr+RbA+5ImdWkS e5luqAOK711HPASQJJOhqjcivIPDDXs8k6cBc0wHLTI2zbXGNtVSe+airquh42VX/JWU 62XzwrT83AyxslBnCKOaRnXoc760mwKQgEDTElWE36NaB/lZXSR0sk/FJlCQ8cUExURg LQVEn+i3OdpVSNclD1ROK5LomerbpNtKOpHIzxrn42lEfYef6R7BSRPkEKQkmYekvnkc WmUJOdwfXoIUcPw9Ju0SRO81ZIY2W3x1I1riyodEpdYQHl2WNSkjW8FO/MvcPpk4cAa3 9xGg== X-Gm-Message-State: ALoCoQmVfD12TpzMvtsIsTKxFMYWVkhrRQn3bPxzcUsUhMmeWAF0oquPN6LPyPH83mRIsEPkzk11 X-Received: by 10.58.22.166 with SMTP id e6mr8243647vef.6.1397132494443; Thu, 10 Apr 2014 05:21:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.199 with SMTP id h65ls1151827qgh.56.gmail; Thu, 10 Apr 2014 05:21:34 -0700 (PDT) X-Received: by 10.58.219.233 with SMTP id pr9mr14718894vec.10.1397132494320; Thu, 10 Apr 2014 05:21:34 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id s10si662742vco.56.2014.04.10.05.21.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Apr 2014 05:21:34 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id ij19so3235743vcb.24 for ; Thu, 10 Apr 2014 05:21:34 -0700 (PDT) X-Received: by 10.220.198.197 with SMTP id ep5mr1834017vcb.21.1397132494241; Thu, 10 Apr 2014 05:21:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp54582vcb; Thu, 10 Apr 2014 05:21:33 -0700 (PDT) X-Received: by 10.194.86.7 with SMTP id l7mr14683855wjz.37.1397132493301; Thu, 10 Apr 2014 05:21:33 -0700 (PDT) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) by mx.google.com with ESMTPS id cy9si2603516wib.121.2014.04.10.05.21.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Apr 2014 05:21:33 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.170 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=74.125.82.170; Received: by mail-we0-f170.google.com with SMTP id w61so3916317wes.15 for ; Thu, 10 Apr 2014 05:21:32 -0700 (PDT) X-Received: by 10.180.81.228 with SMTP id d4mr42431023wiy.49.1397132492504; Thu, 10 Apr 2014 05:21:32 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ej7sm16437292wib.9.2014.04.10.05.21.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 10 Apr 2014 05:21:31 -0700 (PDT) From: Ulf Hansson To: linux-arm-kernel@lists.infradead.org, Russell King , Linus Walleij Cc: devicetree@vger.kernel.org, Rob Herring , Ulf Hansson Subject: [PATCH V3 12/19] mmc: mmci: Enable MMC_CAP_CMD23 Date: Thu, 10 Apr 2014 14:20:55 +0200 Message-Id: <1397132462-8005-13-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1397132462-8005-1-git-send-email-ulf.hansson@linaro.org> References: <1397132462-8005-1-git-send-email-ulf.hansson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 d21136c..41bc054 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -1533,6 +1533,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);