atmel-mci: fix sdc_reg typo
PATCH 1/1 atmel-mci: fix sdc_reg typo
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(-)
drivers/mmc/host/atmel-mci.c +1 -1
@@ -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 ; }
Signature · 1 line
1.6.0.4
Pierre Ossman
AppliedQuoted 8 lines · On Tue, 24 Mar 2009 11:06:06 +0100 Haavard Skinnemoen…
From: Hans-Christian Egtvedt <[email protected]>
This fixes a bug when setting the
sdc_regfor 4-bit bus width transactions.Signed-off-by Hans-Christian Egtvedt <[email protected]>Signed-off-by Haavard Skinnemoen <[email protected]>---
Queued, thanks.
Signature · 6 lines
-- 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.