From: Hans-Christian Egtvedt <[email protected]>
This fixes a bug when setting the sdc_reg for 4-bit bus width
transactions.
Signed-off-by: Hans-Christian Egtvedt <[email protected]>
Signed-off-by: Haavard Skinnemoen <[email protected]>
---
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
On Tue, 24 Mar 2009 11:06:06 +0100
Haavard Skinnemoen <[email protected]> wrote:
> From: Hans-Christian Egtvedt <[email protected]>
>
> This fixes a bug when setting the sdc_reg for 4-bit bus width
> transactions.
>
> Signed-off-by: Hans-Christian Egtvedt <[email protected]>
> Signed-off-by: Haavard Skinnemoen <[email protected]>
> ---
Queued, thanks.
--
-- Pierre Ossman
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.