From patchwork Mon Aug 16 13:22:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 177062 Return-path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on void.printf.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.9 tests=RCVD_IN_DNSWL_LOW autolearn=disabled version=3.2.5 Envelope-to: chris@printf.net Delivery-date: Mon, 16 Aug 2010 14:22:39 +0100 Received: from lists.laptop.org ([18.85.2.145] helo=mail.laptop.org) by void.printf.net with esmtp (Exim 4.69) (envelope-from ) id 1OkzeB-0006Lt-OZ for chris@printf.net; Mon, 16 Aug 2010 14:22:39 +0100 Received: by mail.laptop.org (Postfix) id 7BD992429E; Mon, 16 Aug 2010 09:22:20 -0400 (EDT) Delivered-To: cjb@laptop.org Received: from spam.laptop.org (spam.laptop.org [18.85.46.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.laptop.org (Postfix) with ESMTPS id 17C53242A8 for ; Mon, 16 Aug 2010 09:22:17 -0400 (EDT) X-ASG-Debug-ID: 1281964952-0b740db10001-zHW3sV Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by spam.laptop.org with ESMTP id EOxWhkl4QzH75870 for ; Mon, 16 Aug 2010 09:22:32 -0400 (EDT) X-Barracuda-Envelope-From: linux-mmc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754012Ab0HPNWc (ORCPT ); Mon, 16 Aug 2010 09:22:32 -0400 Received: from mail-gx0-f174.google.com ([209.85.161.174]:40643 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752788Ab0HPNWb (ORCPT ); Mon, 16 Aug 2010 09:22:31 -0400 Received: by gxk23 with SMTP id 23so1874574gxk.19 for ; Mon, 16 Aug 2010 06:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=+NiVeDSfOa4fn01FHWX8P5O01ICTZ+YOdMm9s1Td3Wo=; b=YK4ql3gvi/dYaYMkAXekMVtmk9MyFwAFYk3/MvpKKSkLkSjb34y3ZzNCee8NbnZUGz 9BS9P9LsGupRl2MvIot2lVUtGVYUJe2YzTfGHy+J1Dqzz4UrLU5lMluURpPAp/Fxr3gK O7khdGPrR2RE9b0VjeOWmYOIVOJHfSohNYfeQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=b424n3lL9rQJpqD9TmL5gd5IkhIzxg20Czj4WJpSNhvQEOJWyyu/a4XRCUzGTimIkm qui5A6ZeAiyfxcKAiutXPyTB+xcB9iP0ajEssZVinDiqkw50M3a27JNUHKncUKDkhafZ mx7OUf98LL7xZx6rPw4a6yIIyDBdKaEK2aYY8= MIME-Version: 1.0 Received: by 10.90.91.10 with SMTP id o10mr3325914agb.122.1281964950663; Mon, 16 Aug 2010 06:22:30 -0700 (PDT) Received: by 10.231.199.12 with HTTP; Mon, 16 Aug 2010 06:22:30 -0700 (PDT) Date: Mon, 16 Aug 2010 09:22:30 -0400 Message-ID: X-ASG-Orig-Subj: [patch 1/1] sdhci: support MMC_CAP_MMC_HIGHSPEED Subject: [patch 1/1] sdhci: support MMC_CAP_MMC_HIGHSPEED From: zhangfei gao To: linux-mmc@vger.kernel.org Cc: Matt Fleming , Anton Vorontsov , Ben Dooks , Wolfram Sang , Haojian Zhuang , Eric Miao Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Barracuda-Connect: vger.kernel.org[209.132.180.67] X-Barracuda-Start-Time: 1281964952 X-Barracuda-URL: http://18.85.46.23:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at laptop.org X-Barracuda-Spam-Score: 0.50 X-Barracuda-Spam-Status: No, SCORE=0.50 using global scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.5 tests=BSF_RULE_7582B X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.38129 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.50 BSF_RULE_7582B Custom Rule 7582B From 165986b1ce3da7de57089ceb4547e84a5b530e64 Mon Sep 17 00:00:00 2001 From: Zhangfei Gao Date: Mon, 16 Aug 2010 21:15:32 -0400 Subject: [PATCH] sdhci: support MMC_CAP_MMC_HIGHSPEED Signed-off-by: Zhangfei Gao --- drivers/mmc/host/sdhci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 7855121..913555e 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1823,7 +1823,7 @@ int sdhci_add_host(struct sdhci_host *host) mmc->caps |= MMC_CAP_4_BIT_DATA; if (caps & SDHCI_CAN_DO_HISPD) - mmc->caps |= MMC_CAP_SD_HIGHSPEED; + mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED; if (host->quirks & SDHCI_QUIRK_BROKEN_CARD_DETECTION) mmc->caps |= MMC_CAP_NEEDS_POLL; -- 1.7.0.4