Skip to content

Commit e8ef9df

Browse files
KAGA-KOKOrostedt
authored andcommitted
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. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent fbaa65a commit e8ef9df

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/mmc/host/mmci.c

-5
Original file line numberDiff line numberDiff line change
@@ -1200,15 +1200,12 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id)
12001200
struct sg_mapping_iter *sg_miter = &host->sg_miter;
12011201
struct variant_data *variant = host->variant;
12021202
void __iomem *base = host->base;
1203-
unsigned long flags;
12041203
u32 status;
12051204

12061205
status = readl(base + MMCISTATUS);
12071206

12081207
dev_dbg(mmc_dev(host->mmc), "irq1 (pio) %08x\n", status);
12091208

1210-
local_irq_save(flags);
1211-
12121209
do {
12131210
unsigned int remain, len;
12141211
char *buffer;
@@ -1248,8 +1245,6 @@ static irqreturn_t mmci_pio_irq(int irq, void *dev_id)
12481245

12491246
sg_miter_stop(sg_miter);
12501247

1251-
local_irq_restore(flags);
1252-
12531248
/*
12541249
* If we have less than the fifo 'half-full' threshold to transfer,
12551250
* trigger a PIO interrupt as soon as any data is available.

0 commit comments

Comments
 (0)