aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-03-24 06:06:06 -0400
committerPierre Ossman <drzeus@drzeus.cx>2009-03-24 16:30:11 -0400
commit32ab83a56fdf42f543b86c349143c2a86ead9707 (patch)
treeb98b7ce7aaaf3f0bf05d13b481f04e9a0b394144
parentd719f9006e0591196fe9c7181e1d1cb4d5ee1edf (diff)
atmel-mci: fix sdc_reg typo
This fixes a bug when setting the sdc_reg for 4-bit bus width transactions. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
-rw-r--r--drivers/mmc/host/atmel-mci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index e94e92001e7c..cf6a100bb38f 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)
812 slot->sdc_reg |= MCI_SDCBUS_1BIT; 812 slot->sdc_reg |= MCI_SDCBUS_1BIT;
813 break; 813 break;
814 case MMC_BUS_WIDTH_4: 814 case MMC_BUS_WIDTH_4:
815 slot->sdc_reg = MCI_SDCBUS_4BIT; 815 slot->sdc_reg |= MCI_SDCBUS_4BIT;
816 break; 816 break;
817 } 817 }
818 818