Re: [PATCH 2/2] ibm emac: Fix locking for enable/disable eob irq
From: David Miller <davem@davemloft.net>
Date: 2013-10-30 02:58:28
From: David Miller <davem@davemloft.net>
Date: 2013-10-30 02:58:28
From: Alistair Popple <redacted> Date: Wed, 30 Oct 2013 10:50:38 +1100
Calls to mal_enable_eob_irq perform a read-write-modify of a dcr to enable device irqs which is protected by a spin lock. However calls to mal_disable_eob_irq do not take the corresponding lock. This patch resolves the problem by ensuring that calls to mal_disable_eob_irq also take the lock. Signed-off-by: Alistair Popple <redacted>
Applied.