]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/3.4.24/revert-misapplied-mmc-sh-mmcif-avoid-oops-on-spurious-interrupts.patch
fix up queue-5.15/mm-fix-race-between-__split_huge_pmd_locked-and-gup-.patch
[thirdparty/kernel/stable-queue.git] / releases / 3.4.24 / revert-misapplied-mmc-sh-mmcif-avoid-oops-on-spurious-interrupts.patch
CommitLineData
f34f3dc1
GKH
1From 6984f3c31bb57cb7491dbec1be44b74bd00f4648 Mon Sep 17 00:00:00 2001
2From: Chris Ball <cjb@laptop.org>
3Date: Mon, 3 Dec 2012 09:17:19 -0500
4Subject: Revert misapplied "mmc: sh-mmcif: avoid oops on spurious interrupts"
5
6From: Chris Ball <cjb@laptop.org>
7
8commit 6984f3c31bb57cb7491dbec1be44b74bd00f4648 upstream.
9
10This reverts commit 8464dd52d3198dd05, which was a misapplied debugging
11version of the patch, not the final patch itself.
12
13Signed-off-by: Chris Ball <cjb@laptop.org>
14Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15
16---
17 drivers/mmc/host/sh_mmcif.c | 4 ----
18 1 file changed, 4 deletions(-)
19
20--- a/drivers/mmc/host/sh_mmcif.c
21+++ b/drivers/mmc/host/sh_mmcif.c
22@@ -1191,10 +1191,6 @@ static irqreturn_t sh_mmcif_intr(int irq
23 host->sd_error = true;
24 dev_dbg(&host->pd->dev, "int err state = %08x\n", state);
25 }
26- if (host->state == STATE_IDLE) {
27- dev_info(&host->pd->dev, "Spurious IRQ status 0x%x", state);
28- return IRQ_HANDLED;
29- }
30 if (state & ~(INT_CMD12RBE | INT_CMD12CRE)) {
31 if (!host->dma_active)
32 return IRQ_WAKE_THREAD;