Skip to contentSkip to conversation

mmc: sdhci-s3c: Auto CMD12 support

PATCH In review Kyungmin Park 2 participants 2 messages Oct 30, 2010 – Feb 6, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: sdhci-s3c: Auto CMD12 support

From: Kyungmin Park <[email protected]>

Samsung SDHCI host controller supports the Auto CMD12.

---

drivers/mmc/host/sdhci-s3c.c +3 -0
index aacb862..e2d79e7 100644
@@ -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;
#1 lore raw

Hi Kyungmin,

Quoted 11 lines · Kyungmin Park

From: Kyungmin Park <[email protected]>

Samsung SDHCI host controller supports the Auto CMD12.

---

drivers/mmc/host/sdhci-s3c.c +0 -0
index aacb862..e2d79e7 100644

drivers/mmc/host/sdhci-s3c.c static int __devinit sdhci_s3c_probe(struct platform_device *pdev) · line 422

Quoted 9 lines
drivers/mmc/host/sdhci-s3c.c +3 -0
@@ -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;

I've merged this to mmc-next now -- I'm sorry that it took so long.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child