mmc: continue 5dce427f179ea
authorlintao <lintao@rock-chips.com>
Wed, 10 Sep 2014 08:24:21 +0000 (16:24 +0800)
committerlintao <lintao@rock-chips.com>
Wed, 10 Sep 2014 08:24:21 +0000 (16:24 +0800)
drivers/mmc/host/rk_sdmmc.c

index 4f3c0d3b9ae4206835075ac4a75c1babf86021f7..95085e251c0346da6ee0904f86e57ac68fa52b26 100755 (executable)
@@ -1694,11 +1694,11 @@ static void dw_mci_enable_sdio_irq(struct mmc_host *mmc, int enb)
 {
        struct dw_mci_slot *slot = mmc_priv(mmc);
        struct dw_mci *host = slot->host;
-       unsigned long flags;
+       //unsigned long flags;
        u32 int_mask;
        u32 sdio_int;
 
-        spin_lock_irqsave(&host->lock, flags);
+        //spin_lock_irqsave(&host->lock, flags);
 
        /* Enable/disable Slot Specific SDIO interrupt */
        int_mask = mci_readl(host, INTMASK);
@@ -1724,7 +1724,7 @@ static void dw_mci_enable_sdio_irq(struct mmc_host *mmc, int enb)
                           (int_mask & ~sdio_int));
        }
 
-       spin_unlock_irqrestore(&host->lock, flags);
+       //spin_unlock_irqrestore(&host->lock, flags);
 }
 
 #ifdef CONFIG_MMC_DW_ROCKCHIP_SWITCH_VOLTAGE