- smc911x-re-release-spinlock-on-spurious-interrupt.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     smc911x: Re-release spinlock on spurious interrupt

has been removed from the -mm tree.  Its filename is

     smc911x-re-release-spinlock-on-spurious-interrupt.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: smc911x: Re-release spinlock on spurious interrupt
From: Peter Korsgaard <jacmet@xxxxxxxxxx>

The smc911x driver forgets to release the spinlock on spurious interrupts. 
This little patch fixes it.

Cc: Jeff Garzik <jeff@xxxxxxxxxx>
Signed-off-by: Peter Korsgaard <jacmet@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/net/smc911x.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/net/smc911x.c~smc911x-re-release-spinlock-on-spurious-interrupt drivers/net/smc911x.c
--- a/drivers/net/smc911x.c~smc911x-re-release-spinlock-on-spurious-interrupt
+++ a/drivers/net/smc911x.c
@@ -1090,6 +1090,7 @@ static irqreturn_t smc911x_interrupt(int
 	/* Spurious interrupt check */
 	if ((SMC_GET_IRQ_CFG() & (INT_CFG_IRQ_INT_ | INT_CFG_IRQ_EN_)) !=
 		(INT_CFG_IRQ_INT_ | INT_CFG_IRQ_EN_)) {
+		spin_unlock_irqrestore(&lp->lock, flags);
 		return IRQ_NONE;
 	}
 
_

Patches currently in -mm which might be from jacmet@xxxxxxxxxx are

git-netdev-all.patch
fix-serial-amba-pl011c-console-kconfig.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux