spi/bfin_spi: use dma_disable_irq_nosync() in irq handler
authorBarry Song <barry.song@analog.com>
Fri, 22 Jan 2010 10:07:30 +0000 (10:07 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 18 Oct 2010 06:49:40 +0000 (02:49 -0400)
commita75bd65b2189d711938d0fa7d9a79df47ddd66fa
tree6acca25eaf5bb0e9e75e5d6922a6224bfbb79d81
parent5e8592dca303fb429d1641c205fe509f4b781ca2
spi/bfin_spi: use dma_disable_irq_nosync() in irq handler

Using disable_irq() on the IRQ whose handler we are currently executing in
can easily lead to a hang.  So use the nosync variant here.

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/spi/spi_bfin5xx.c