Skip to contentSkip to conversation

patch s3cmci-s3cmci_card_present-use-no_detect-to-decide-whether-there-is-a-card-detect-pin.patch added to 2.6.33-stable tree

PATCH [email protected] 1 participant 1 message Mar 12, 2010 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

This is a note to let you know that we have just queued up the patch titled

Subject: s3cmci: s3cmci_card_present: Use no_detect to decide whether there is a card detect pin

to the 2.6.33-stable tree. Its filename is

s3cmci-s3cmci_card_present-use-no_detect-to-decide-whether-there-is-a-card-detect-pin.patch

A git repo of this tree can be found at
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

Quoted 1 line

From dc2ed552804f3a2ae41c0ffe4bc09879ec8f7396 Mon Sep 17 00:00:00 2001

From: Lars-Peter Clausen <[email protected]>
Date: Fri, 5 Mar 2010 13:43:37 -0800
Subject: s3cmci: s3cmci_card_present: Use no_detect to decide whether there is a card detect pin

From: Lars-Peter Clausen <[email protected]>

commit dc2ed552804f3a2ae41c0ffe4bc09879ec8f7396 upstream.

---
 drivers/mmc/host/s3cmci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/s3cmci.c +1 -1
@@ -1179,7 +1179,7 @@ static int s3cmci_card_present(struct mm
 	struct s3c24xx_mci_pdata *pdata = host->pdata;
 	int ret;
 
-	if (pdata->gpio_detect == 0)
+	if (pdata->no_detect)
 		return -ENOSYS;
 
 	ret = gpio_get_value(pdata->gpio_detect) ? 0 : 1;

Patches currently in stable-queue which might be from [email protected] are