z85230: spinlock logic
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 6 Feb 2007 00:31:03 +0000 (16:31 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 7 Feb 2007 23:49:52 +0000 (18:49 -0500)
commit45d3ac4ec31ccf9a39065e8576260c6ac2652c83
treeca22e67bdf80e12f03fa60030e85fadb18175ec9
parent257b346d20cd309a4c5a13b8de5ad2b7c63b590a
z85230: spinlock logic

At some point someone added a spin_lock(&dev->lock) to the IRQ handler for
the Z85230 driver.  This actually correctly fixes a bug but the necessary
changes to remove the chan->lock calls in the event handlers were not made
(c->lock is the same lock).

Simona Dascenzo reported the problem with the driver and this patch should
fix the problem he found.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/wan/z85230.c