diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2012-02-14 03:33:03 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-03-25 19:33:45 -0400 |
commit | e3891dc5c5b10dfa07ec02e3d1f6739c5e26d4a8 (patch) | |
tree | a7298c6c249626a03c68ea8dd4683af45ffab0ef /drivers/mmc | |
parent | f060bc9c12d28c9a561fdd8cf1d60bdefd92db2d (diff) |
mmc: dw_mmc: shift with slot-id for CLKENA register
In CLKENA register, can support 16-SD card clocks.
If support correctly, must shift with slot-id.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 7d6ad6cd4a50..f9457e5ed9b7 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c | |||
@@ -652,8 +652,8 @@ static void dw_mci_setup_bus(struct dw_mci_slot *slot) | |||
652 | SDMMC_CMD_UPD_CLK | SDMMC_CMD_PRV_DAT_WAIT, 0); | 652 | SDMMC_CMD_UPD_CLK | SDMMC_CMD_PRV_DAT_WAIT, 0); |
653 | 653 | ||
654 | /* enable clock */ | 654 | /* enable clock */ |
655 | mci_writel(host, CLKENA, SDMMC_CLKEN_ENABLE | | 655 | mci_writel(host, CLKENA, ((SDMMC_CLKEN_ENABLE | |
656 | SDMMC_CLKEN_LOW_PWR); | 656 | SDMMC_CLKEN_LOW_PWR) << slot->id)); |
657 | 657 | ||
658 | /* inform CIU */ | 658 | /* inform CIU */ |
659 | mci_send_cmd(slot, | 659 | mci_send_cmd(slot, |