diff options
author | Kishore Kadiyala <kishore.kadiyala@ti.com> | 2010-06-01 02:11:25 +0530 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2010-06-01 11:18:48 +0530 |
commit | 3037177e3f77adcbec299dcdc271ff6b1f914f3b (patch) | |
tree | 23344f4134fbf8743c592790708e4dc19f5a1462 /drivers/mmc | |
parent | ec948ffddbffe36c2d6ac5fa16adacf0334b5502 (diff) |
OMAP3_OMAP4:HSMMC:Updating the attribute flags with capabilities
The attribute flags are updated in hwmod data for specific MMC
controller.The same can be used to check the capabilites of the
controller
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 4e30c7199bc7..7538a39fc225 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1524,7 +1524,7 @@ static void omap_hsmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) break; } - if (pdata->dev_attr->flags & MMC_INTERNAL_XCVR) { + if (pdata->dev_attr->flags & MMC_SUPPORT_18V_3V) { /* Only MMC1 can interface at 3V without some flavor * of external transceiver; but they all handle 1.8V. */ @@ -1608,7 +1608,7 @@ static void omap_hsmmc_conf_bus_power(struct omap_hsmmc_host *host) u32 hctl, capa, value; /* Only MMC1 supports 3.0V */ - if (host->pdata->dev_attr->flags & MMC_INTERNAL_XCVR) { + if (host->pdata->dev_attr->flags & MMC_SUPPORT_18V_3V) { hctl = SDVS30; capa = VS30 | VS18; } else { |