[s3c24xx] glamo: get rid of static driver handle.
[openwrt/svn-archive/archive.git] / target / linux / s3c24xx / files-2.6.30 / drivers / mfd / glamo / glamo-mci.c
index c9cb6ca6cfbb1d454659b88467c65bdf04e7c12a..0d7a2aa22f8293841b3061f2a42d49f0cc10e1ad 100644 (file)
@@ -219,9 +219,9 @@ static void glamo_mci_fix_card_div(struct glamo_mci_host *host, int div)
                writew(readw(host->pdata->pglamo->base +
                             GLAMO_REG_CLOCK_GEN5_1) | GLAMO_CLOCK_GEN51_EN_DIV_TCLK,
                       host->pdata->pglamo->base + GLAMO_REG_CLOCK_GEN5_1);
-               mdelay(5);
        }
        spin_unlock_irqrestore(&host->pdata->pglamo->lock, flags);
+       mdelay(5);
 }
 
 static int glamo_mci_set_card_clock(struct glamo_mci_host *host, int freq)