Skip to contentSkip to conversation

patch mmc-atmel-mci-fix-two-parameters-swapped.patch added to 2.6.33-stable tree

PATCH [email protected] 1 participant 1 message May 12, 2010

Subsystems (3)
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: mmc: atmel-mci: fix two parameters swapped

to the 2.6.33-stable tree. Its filename is

mmc-atmel-mci-fix-two-parameters-swapped.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 ebb1fea9b3adf25d7e2f643c614163af4f93a17f Mon Sep 17 00:00:00 2001

From: Nicolas Ferre <[email protected]>
Date: Tue, 11 May 2010 14:06:48 -0700
Subject: mmc: atmel-mci: fix two parameters swapped

From: Nicolas Ferre <[email protected]>

commit ebb1fea9b3adf25d7e2f643c614163af4f93a17f upstream.

Two parameters were swapped in the calls to atmci_init_slot().

---
 drivers/mmc/host/atmel-mci.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/host/atmel-mci.c +2 -2
@@ -1750,13 +1750,13 @@ static int __init atmci_probe(struct pla
 	ret = -ENODEV;
 	if (pdata->slot[0].bus_width) {
 		ret = atmci_init_slot(host, &pdata->slot[0],
-				MCI_SDCSEL_SLOT_A, 0);
+				0, MCI_SDCSEL_SLOT_A);
 		if (!ret)
 			nr_slots++;
 	}
 	if (pdata->slot[1].bus_width) {
 		ret = atmci_init_slot(host, &pdata->slot[1],
-				MCI_SDCSEL_SLOT_B, 1);
+				1, MCI_SDCSEL_SLOT_B);
 		if (!ret)
 			nr_slots++;
 	}

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

queue-2.6.33/mmc-atmel-mci-remove-data-error-interrupt-after-xfer.patch queue-2.6.33/mmc-atmel-mci-prevent-kernel-oops-while-removing-card.patch queue-2.6.33/mmc-atmel-mci-fix-two-parameters-swapped.patch