[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1237889166-17760-1-git-send-email-haavard.skinnemoen@atmel.com>
Date: Tue, 24 Mar 2009 11:06:06 +0100
From: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
To: Pierre Ossman <drzeus@...eus.cx>
Cc: Nicolas Ferre <nicolas.ferre@...el.com>, kernel@...32linux.org,
linux-kernel@...r.kernel.org,
Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>,
Haavard Skinnemoen <haavard.skinnemoen@...el.com>
Subject: [PATCH] atmel-mci: fix sdc_reg typo
From: Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>
This fixes a bug when setting the sdc_reg for 4-bit bus width
transactions.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@...el.com>
---
drivers/mmc/host/atmel-mci.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 2b1196e..cab1ddb 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -812,7 +812,7 @@ static void atmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
slot->sdc_reg |= MCI_SDCBUS_1BIT;
break;
case MMC_BUS_WIDTH_4:
- slot->sdc_reg = MCI_SDCBUS_4BIT;
+ slot->sdc_reg |= MCI_SDCBUS_4BIT;
break;
}
--
1.6.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists