summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-03-24 11:06:06 +0100
committerPierre Ossman <drzeus@drzeus.cx>2009-03-24 21:30:11 +0100
commit32ab83a56fdf42f543b86c349143c2a86ead9707 (patch)
treeb98b7ce7aaaf3f0bf05d13b481f04e9a0b394144 /drivers
parentd719f9006e0591196fe9c7181e1d1cb4d5ee1edf (diff)
downloadop-kernel-dev-32ab83a56fdf42f543b86c349143c2a86ead9707.zip
op-kernel-dev-32ab83a56fdf42f543b86c349143c2a86ead9707.tar.gz
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>
Diffstat (limited to 'drivers')
-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 e94e920..cf6a100 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;
}
OpenPOWER on IntegriCloud