Re: [PATCH] powerpc/mpc5200: Fix locking on mpc52xx_spi driver

2008-07-27 Thread David Brownell
Applying patch mpc52xx-spi-fix0.patch patching file drivers/spi/mpc52xx_spi.c Hunk #1 FAILED at 149. Hunk #2 succeeded at 154 (offset -7 lines). Hunk #3 succeeded at 311 (offset -7 lines). 1 out of 3 hunks FAILED -- rejects in file drivers/spi/mpc52xx_spi.c Patch mpc52xx-spi-fix0.patch does not app

Re: [PATCH] powerpc/mpc5200: Fix locking on mpc52xx_spi driver

2008-07-26 Thread Daniel Walker
On Sat, 2008-07-26 at 02:24 -0400, Grant Likely wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > Locking was incorrect for the state machine processing since there are > conditions where both the work queue and the IRQ can be active. This > patch fixes the handling to ensure the spin lock is h

[PATCH] powerpc/mpc5200: Fix locking on mpc52xx_spi driver

2008-07-25 Thread Grant Likely
From: Grant Likely <[EMAIL PROTECTED]> Locking was incorrect for the state machine processing since there are conditions where both the work queue and the IRQ can be active. This patch fixes the handling to ensure the spin lock is held whenever the state machine is being processed. Signed-off-by