Message ID | 1396279100-2920-13-git-send-email-ulf.hansson@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDF57NG2XIHRBWEO42MQKGQECIJI2HA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f197.google.com (mail-yk0-f197.google.com [209.85.160.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2E2A220558 for <linaro@patches.linaro.org>; Mon, 31 Mar 2014 15:18:49 +0000 (UTC) Received: by mail-yk0-f197.google.com with SMTP id 19sf12705320ykq.8 for <linaro@patches.linaro.org>; Mon, 31 Mar 2014 08:18:48 -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=4Zuq9KMpI9CDaV+OpZkVyTPH81yufMQon8lqJ0SEryM=; b=BUWDq3fCxrfBZoPxw4Ia3Qm1Z3h8in7EMVRp8HRLjYYijq6vuOgK0kNa7tjK+6X7xO aZ7FdYP40tKHifHqj/dL7sorby01Z//XfU875DPF4PgB8/CqHo/ch4YlaZ8phRVR4a84 8cRjWfOrm0/x2DpR7d5q12PooL+9GIQl7HuJ5X3E2MwQJIehrHqn1T4cU9TubL/q9Od8 RnG19w2xWOx6fOCL9yxIXRCULVbPcvg+VFxte1NE+IpTgpfEe8ODfN7IQ7vgjZG5QM9B 2k/q61kzkRlKn1RbRLicVZTFJvzxn/ZA0vamXyvxwKlpa+svtF61pC8uYiiaziz00QZo sLhw== X-Gm-Message-State: ALoCoQnncXiliOCtTiV3/XP05GKUp/+ROSi+ZTLsacSphTB0TEQqqOeo1hHPJvogeKOtsfhfU1ux X-Received: by 10.58.154.228 with SMTP id vr4mr10691116veb.0.1396279128955; Mon, 31 Mar 2014 08:18:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.203 with SMTP id w69ls1733356qge.3.gmail; Mon, 31 Mar 2014 08:18:48 -0700 (PDT) X-Received: by 10.52.113.1 with SMTP id iu1mr485984vdb.35.1396279128693; Mon, 31 Mar 2014 08:18:48 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id f7si2917980vcz.165.2014.03.31.08.18.48 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 31 Mar 2014 08:18:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.178 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.178; Received: by mail-vc0-f178.google.com with SMTP id im17so8642012vcb.9 for <patchwork-forward@linaro.org>; Mon, 31 Mar 2014 08:18:48 -0700 (PDT) X-Received: by 10.52.231.72 with SMTP id te8mr35340vdc.54.1396279128607; Mon, 31 Mar 2014 08:18:48 -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.12.8 with SMTP id v8csp150797vcv; Mon, 31 Mar 2014 08:18:48 -0700 (PDT) X-Received: by 10.180.102.42 with SMTP id fl10mr13122705wib.42.1396279126702; Mon, 31 Mar 2014 08:18:46 -0700 (PDT) Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by mx.google.com with ESMTPS id s9si7719893wiw.121.2014.03.31.08.18.46 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 31 Mar 2014 08:18:46 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.176 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=74.125.82.176; Received: by mail-we0-f176.google.com with SMTP id x48so4834354wes.21 for <patches@linaro.org>; Mon, 31 Mar 2014 08:18:46 -0700 (PDT) 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 <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 31 Mar 2014 08:18:45 -0700 (PDT) From: Ulf Hansson <ulf.hansson@linaro.org> To: linux-arm-kernel@lists.infradead.org, Russell King <linux@arm.linux.org.uk>, Linus Walleij <linus.walleij@linaro.org> Cc: devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Ulf Hansson <ulf.hansson@linaro.org> 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-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.178 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
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);
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 <ulf.hansson@linaro.org> --- drivers/mmc/host/mmci.c | 3 +++ 1 file changed, 3 insertions(+)