diff options
author | Kishore Kadiyala <x0099945@svrlnx050.tif.ti.com> | 2009-11-07 01:33:40 +0100 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-11-07 02:03:23 +0100 |
commit | 8408f329f398bd408002e074bd629bf31249183a (patch) | |
tree | 3cf5a3cbd004476679abc1654a7cd8f24391a662 /drivers | |
parent | d619923452d9fd85a03bac385a0ce36b0244ea2c (diff) |
OMAP4: MMC: Fix pbias configuration
This patch fixes pbias configuration to support MMC1 on OMAP4 SDP.
The patch bypasses card detection. So for now, the card should be
inserted before booting the board.
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 05663800af3e..1e9a195edc0c 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -1019,7 +1019,7 @@ static int omap_hsmmc_get_cd(struct mmc_host *mmc) struct mmc_omap_host *host = mmc_priv(mmc); struct omap_mmc_platform_data *pdata = host->pdata; - if (host->id == OMAP_MMC2_DEVID) + if (host->id == OMAP_MMC1_DEVID || host->id == OMAP_MMC2_DEVID) return 1 ; if (!pdata->slots[0].card_detect) return -ENOSYS; |