From patchwork Thu Nov 18 09:01:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chuanxiao.Dong" X-Patchwork-Id: 335411 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 oAI93sAn010678 for ; Thu, 18 Nov 2010 09:03:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753641Ab0KRJDZ (ORCPT ); Thu, 18 Nov 2010 04:03:25 -0500 Received: from mga11.intel.com ([192.55.52.93]:51165 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752713Ab0KRJDW convert rfc822-to-8bit (ORCPT ); Thu, 18 Nov 2010 04:03:22 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 18 Nov 2010 01:03:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,216,1288594800"; d="scan'208,223";a="858891994" Received: from unknown (HELO intel.com) ([172.16.120.128]) by fmsmga001.fm.intel.com with ESMTP; 18 Nov 2010 01:03:21 -0800 Date: Thu, 18 Nov 2010 17:01:07 +0800 From: Chuanxiao Dong To: cjb@laptop.org Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, alan@linux.intel.com, arjan@linux.intel.com Subject: [PATCH v2 3/3]mmc: Add the new quirk to MFLD SDHCI HC Message-ID: <20101118090107.GD18161@intel.com> Reply-To: Chuanxiao Dong MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) 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.3 (demeter1.kernel.org [140.211.167.41]); Thu, 18 Nov 2010 09:03:55 +0000 (UTC) diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 3d9c246..6eea1ba 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c @@ -169,11 +169,13 @@ static const struct sdhci_pci_fixes sdhci_intel_mrst_hc1_hc2 = { }; static const struct sdhci_pci_fixes sdhci_intel_mfd_sd = { - .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, + .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC | + SDHCI_QUIRK_FORCE_ERASE_SINGLE, }; static const struct sdhci_pci_fixes sdhci_intel_mfd_emmc_sdio = { - .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC, + .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC | + SDHCI_QUIRK_FORCE_ERASE_SINGLE, }; static int jmicron_pmos(struct sdhci_pci_chip *chip, int on)