Commit 99d02d6c authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Ulf Hansson

mmc: mmci: Remove bogus local_irq_save()

On !RT interrupt runs with interrupts disabled. On RT it's in a
thread, so no need to disable interrupts at all.
Remove the local_irq_save() invocation.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 3fbd4322
...@@ -1253,15 +1253,12 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id) ...@@ -1253,15 +1253,12 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id)
struct sg_mapping_iter *sg_miter = &host->sg_miter; struct sg_mapping_iter *sg_miter = &host->sg_miter;
struct variant_data *variant = host->variant; struct variant_data *variant = host->variant;
void __iomem *base = host->base; void __iomem *base = host->base;
unsigned long flags;
u32 status; u32 status;
status = readl(base + MMCISTATUS); status = readl(base + MMCISTATUS);
dev_dbg(mmc_dev(host->mmc), "irq1 (pio) %08x\n", status); dev_dbg(mmc_dev(host->mmc), "irq1 (pio) %08x\n", status);
local_irq_save(flags);
do { do {
unsigned int remain, len; unsigned int remain, len;
char *buffer; char *buffer;
...@@ -1301,8 +1298,6 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id) ...@@ -1301,8 +1298,6 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id)
sg_miter_stop(sg_miter); sg_miter_stop(sg_miter);
local_irq_restore(flags);
/* /*
* If we have less than the fifo 'half-full' threshold to transfer, * If we have less than the fifo 'half-full' threshold to transfer,
* trigger a PIO interrupt as soon as any data is available. * trigger a PIO interrupt as soon as any data is available.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment