spi/bfin_spi: use nosync when disabling the IRQ from the IRQ handler
authorYi Li <yi.li@analog.com>
Mon, 7 Dec 2009 08:07:01 +0000 (08:07 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 18 Oct 2010 06:49:38 +0000 (02:49 -0400)
commit7370ed6b91c37d7022a89a820b0fcd3156fa87fc
tree7a0eb591a99fb634a2bcc18fa16534ca8df68918
parent9677b0de10433d31e05864dfb4bf33d0c27f752a
spi/bfin_spi: use nosync when disabling the IRQ from the 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: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/spi/spi_bfin5xx.c