From patchwork Sat Oct 30 03:58:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyungmin Park X-Patchwork-Id: 291572 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 o9U3x8Wb003675 for ; Sat, 30 Oct 2010 03:59:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752053Ab0J3D7F (ORCPT ); Fri, 29 Oct 2010 23:59:05 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:19440 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069Ab0J3D7E (ORCPT ); Fri, 29 Oct 2010 23:59:04 -0400 Received: from epmmp2 (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LB3006U84EEG960@mailout2.samsung.com> for linux-mmc@vger.kernel.org; Sat, 30 Oct 2010 12:59:02 +0900 (KST) Received: from TNRNDGASPAPP1.tn.corp.samsungelectronics.net ([165.213.149.150]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LB30048V4EF9W@mmp2.samsung.com> for linux-mmc@vger.kernel.org; Sat, 30 Oct 2010 12:59:03 +0900 (KST) Received: from july ([10.89.10.219]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Sat, 30 Oct 2010 12:59:01 +0900 Received: by july (sSMTP sendmail emulation); Sat, 30 Oct 2010 12:58:56 +0900 Date: Sat, 30 Oct 2010 12:58:56 +0900 From: Kyungmin Park Subject: [PATCH] mmc: sdhci-s3c: Auto CMD12 support To: linux-mmc@vger.kernel.org, akpm@linux-foundation.org Cc: jh80.chung@samsung.com, Ben Dooks , Chris Ball Message-id: <20101030035856.GA13041@july> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-OriginalArrivalTime: 30 Oct 2010 03:59:01.0821 (UTC) FILETIME=[C992B6D0:01CB77E6] 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]); Sat, 30 Oct 2010 03:59:09 +0000 (UTC) diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index aacb862..e2d79e7 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers/mmc/host/sdhci-s3c.c @@ -414,6 +414,9 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev) * SDHCI block, or a missing configuration that needs to be set. */ host->quirks |= SDHCI_QUIRK_NO_BUSY_IRQ; + /* This host supports the Auto CMD12 */ + host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; + if (pdata->cd_type == S3C_SDHCI_CD_NONE || pdata->cd_type == S3C_SDHCI_CD_PERMANENT) host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION;