|
@@ -137,8 +137,7 @@ static void omap4_hsmmc1_before_set_reg(struct device *dev, int slot,
|
|
|
*/
|
|
|
reg = omap4_ctrl_pad_readl(control_pbias_offset);
|
|
|
reg &= ~(OMAP4_MMC1_PBIASLITE_PWRDNZ_MASK |
|
|
|
- OMAP4_MMC1_PWRDNZ_MASK |
|
|
|
- OMAP4_USBC1_ICUSB_PWRDNZ_MASK);
|
|
|
+ OMAP4_MMC1_PWRDNZ_MASK);
|
|
|
omap4_ctrl_pad_writel(reg, control_pbias_offset);
|
|
|
}
|
|
|
|
|
@@ -156,8 +155,7 @@ static void omap4_hsmmc1_after_set_reg(struct device *dev, int slot,
|
|
|
else
|
|
|
reg |= OMAP4_MMC1_PBIASLITE_VMODE_MASK;
|
|
|
reg |= (OMAP4_MMC1_PBIASLITE_PWRDNZ_MASK |
|
|
|
- OMAP4_MMC1_PWRDNZ_MASK |
|
|
|
- OMAP4_USBC1_ICUSB_PWRDNZ_MASK);
|
|
|
+ OMAP4_MMC1_PWRDNZ_MASK);
|
|
|
omap4_ctrl_pad_writel(reg, control_pbias_offset);
|
|
|
|
|
|
timeout = jiffies + msecs_to_jiffies(5);
|
|
@@ -171,16 +169,14 @@ static void omap4_hsmmc1_after_set_reg(struct device *dev, int slot,
|
|
|
if (reg & OMAP4_MMC1_PBIASLITE_VMODE_ERROR_MASK) {
|
|
|
pr_err("Pbias Voltage is not same as LDO\n");
|
|
|
/* Caution : On VMODE_ERROR Power Down MMC IO */
|
|
|
- reg &= ~(OMAP4_MMC1_PWRDNZ_MASK |
|
|
|
- OMAP4_USBC1_ICUSB_PWRDNZ_MASK);
|
|
|
+ reg &= ~(OMAP4_MMC1_PWRDNZ_MASK);
|
|
|
omap4_ctrl_pad_writel(reg, control_pbias_offset);
|
|
|
}
|
|
|
} else {
|
|
|
reg = omap4_ctrl_pad_readl(control_pbias_offset);
|
|
|
reg |= (OMAP4_MMC1_PBIASLITE_PWRDNZ_MASK |
|
|
|
OMAP4_MMC1_PWRDNZ_MASK |
|
|
|
- OMAP4_MMC1_PBIASLITE_VMODE_MASK |
|
|
|
- OMAP4_USBC1_ICUSB_PWRDNZ_MASK);
|
|
|
+ OMAP4_MMC1_PBIASLITE_VMODE_MASK);
|
|
|
omap4_ctrl_pad_writel(reg, control_pbias_offset);
|
|
|
}
|
|
|
}
|