arm:omap:hsmmc - remove invalid bus power setting
authorHebbar, Gururaja <gururaja.hebbar@ti.com>
Tue, 10 Jan 2012 12:54:46 +0000 (18:24 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:48 +0000 (00:44 +0530)
SD bus Power was setup at a wrong sequence inside irq code. This Commit
removes the same.

Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
drivers/mmc/host/omap_hsmmc.c

index 5588565c8e517173774e5bd4d5d1f6fc92eb360f..703013c39e618cf332fa3b00de173f7507d53e48 100644 (file)
@@ -1185,12 +1185,6 @@ static irqreturn_t omap_hsmmc_irq(int irq, void *dev_id)
 {
        struct omap_hsmmc_host *host = dev_id;
        int status;
-       struct omap_mmc_platform_data *pdata = host->pdata;
-
-       if (pdata->version == MMC_CTRL_VERSION_2) {
-               OMAP_HSMMC_WRITE(host->base, HCTL,
-                       OMAP_HSMMC_READ(host->base, HCTL) | SDBP);
-       }
 
        status = OMAP_HSMMC_READ(host->base, STAT);
        do {