From patchwork Mon Feb 28 11:32:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 595441 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1SBXCVb026491 for ; Mon, 28 Feb 2011 11:33:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753470Ab1B1LdM (ORCPT ); Mon, 28 Feb 2011 06:33:12 -0500 Received: from db3ehsobe002.messaging.microsoft.com ([213.199.154.140]:13648 "EHLO DB3EHSOBE002.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753268Ab1B1LdL (ORCPT ); Mon, 28 Feb 2011 06:33:11 -0500 Received: from mail64-db3-R.bigfish.com (10.3.81.241) by DB3EHSOBE002.bigfish.com (10.3.84.22) with Microsoft SMTP Server id 14.1.225.8; Mon, 28 Feb 2011 11:33:10 +0000 Received: from mail64-db3 (localhost.localdomain [127.0.0.1]) by mail64-db3-R.bigfish.com (Postfix) with ESMTP id 4A97B1AA0234; Mon, 28 Feb 2011 11:33:10 +0000 (UTC) X-SpamScore: -2 X-BigFish: VS-2(zzbb2cKzz1202hzz8275bh1497iz2dh2a8h668h61h) X-Spam-TCS-SCL: 0:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:az33egw01.freescale.net; RD:az33egw01.freescale.net; EFVD:NLI Received: from mail64-db3 (localhost.localdomain [127.0.0.1]) by mail64-db3 (MessageSwitch) id 1298892790141773_22796; Mon, 28 Feb 2011 11:33:10 +0000 (UTC) Received: from DB3EHSMHS008.bigfish.com (unknown [10.3.81.252]) by mail64-db3.bigfish.com (Postfix) with ESMTP id 1F2A8162804C; Mon, 28 Feb 2011 11:33:10 +0000 (UTC) Received: from az33egw01.freescale.net (192.88.158.102) by DB3EHSMHS008.bigfish.com (10.3.87.108) with Microsoft SMTP Server (TLS) id 14.1.225.8; Mon, 28 Feb 2011 11:33:08 +0000 Received: from az33smr01.freescale.net (az33smr01.freescale.net [10.64.34.199]) by az33egw01.freescale.net (8.14.3/8.14.3) with ESMTP id p1SBWMh7000395; Mon, 28 Feb 2011 04:32:28 -0700 (MST) Received: from x-VirtualBox.ap.freescale.net (udp161219uds.ap.freescale.net [10.192.242.95] (may be forged)) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id p1SBW7ck007621; Mon, 28 Feb 2011 05:32:18 -0600 (CST) From: Richard Zhu To: CC: , , , , , , , , , , Richard Zhu Subject: [PATCH V3 3/4] mmc: sdhci-esdhc: remove SDHCI_QUIRK_NO_CARD_NO_RESET from ESDHC_DEFAULT_QUIRKS Date: Mon, 28 Feb 2011 19:32:04 +0800 Message-ID: <1298892725-23672-3-git-send-email-Hong-Xing.Zhu@freescale.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1298892725-23672-1-git-send-email-Hong-Xing.Zhu@freescale.com> References: <1298892725-23672-1-git-send-email-Hong-Xing.Zhu@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 28 Feb 2011 11:33:12 +0000 (UTC) diff --git a/drivers/mmc/host/sdhci-esdhc.h b/drivers/mmc/host/sdhci-esdhc.h index afaf1bc..303cde0 100644 --- a/drivers/mmc/host/sdhci-esdhc.h +++ b/drivers/mmc/host/sdhci-esdhc.h @@ -24,8 +24,7 @@ SDHCI_QUIRK_NONSTANDARD_CLOCK | \ SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | \ SDHCI_QUIRK_PIO_NEEDS_DELAY | \ - SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET | \ - SDHCI_QUIRK_NO_CARD_NO_RESET) + SDHCI_QUIRK_RESTORE_IRQS_AFTER_RESET) #define ESDHC_SYSTEM_CONTROL 0x2c #define ESDHC_CLOCK_MASK 0x0000fff0 diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c index fcd0e1f..6337607 100644 --- a/drivers/mmc/host/sdhci-of-esdhc.c +++ b/drivers/mmc/host/sdhci-of-esdhc.c @@ -73,7 +73,7 @@ static unsigned int esdhc_of_get_min_clock(struct sdhci_host *host) } struct sdhci_of_data sdhci_esdhc = { - .quirks = ESDHC_DEFAULT_QUIRKS, + .quirks = ESDHC_DEFAULT_QUIRKS | SDHCI_QUIRK_NO_CARD_NO_RESET, .ops = { .read_l = sdhci_be32bs_readl, .read_w = esdhc_readw,