aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/mmci.c')
-rw-r--r--drivers/mmc/host/mmci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 70b0df8b9c78..f1849775e47e 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -1253,15 +1253,12 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id)
1253 struct sg_mapping_iter *sg_miter = &host->sg_miter; 1253 struct sg_mapping_iter *sg_miter = &host->sg_miter;
1254 struct variant_data *variant = host->variant; 1254 struct variant_data *variant = host->variant;
1255 void __iomem *base = host->base; 1255 void __iomem *base = host->base;
1256 unsigned long flags;
1257 u32 status; 1256 u32 status;
1258 1257
1259 status = readl(base + MMCISTATUS); 1258 status = readl(base + MMCISTATUS);
1260 1259
1261 dev_dbg(mmc_dev(host->mmc), "irq1 (pio) %08x\n", status); 1260 dev_dbg(mmc_dev(host->mmc), "irq1 (pio) %08x\n", status);
1262 1261
1263 local_irq_save(flags);
1264
1265 do { 1262 do {
1266 unsigned int remain, len; 1263 unsigned int remain, len;
1267 char *buffer; 1264 char *buffer;
@@ -1301,8 +1298,6 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id)
1301 1298
1302 sg_miter_stop(sg_miter); 1299 sg_miter_stop(sg_miter);
1303 1300
1304 local_irq_restore(flags);
1305
1306 /* 1301 /*
1307 * If we have less than the fifo 'half-full' threshold to transfer, 1302 * If we have less than the fifo 'half-full' threshold to transfer,
1308 * trigger a PIO interrupt as soon as any data is available. 1303 * trigger a PIO interrupt as soon as any data is available.