mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
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>
This commit is contained in:
parent
d719f9006e
commit
32ab83a56f
@ -812,7 +812,7 @@ static void atmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
|
|||||||
slot->sdc_reg |= MCI_SDCBUS_1BIT;
|
slot->sdc_reg |= MCI_SDCBUS_1BIT;
|
||||||
break;
|
break;
|
||||||
case MMC_BUS_WIDTH_4:
|
case MMC_BUS_WIDTH_4:
|
||||||
slot->sdc_reg = MCI_SDCBUS_4BIT;
|
slot->sdc_reg |= MCI_SDCBUS_4BIT;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user