projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9677b0d
)
spi/bfin_spi: use nosync when disabling the IRQ from the IRQ handler
author
Yi Li
<yi.li@analog.com>
Mon, 7 Dec 2009 08:07:01 +0000
(08:07 +0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 18 Oct 2010 06:49:38 +0000
(
02:49
-0400)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi_bfin5xx.c
b/drivers/spi/spi_bfin5xx.c
index 54f9dbbc52e9c44f8c37215f5477777bdbcfdce9..d446524aa894f5868192ca4a2fcdcedb98dbf49d 100644
(file)
--- a/
drivers/spi/spi_bfin5xx.c
+++ b/
drivers/spi/spi_bfin5xx.c
@@
-448,7
+448,7
@@
static irqreturn_t bfin_spi_pio_irq_handler(int irq, void *dev_id)
/* Move to next transfer */
msg->state = bfin_spi_next_transfer(drv_data);
- disable_irq(drv_data->spi_irq);
+ disable_irq
_nosync
(drv_data->spi_irq);
/* Schedule transfer tasklet */
tasklet_schedule(&drv_data->pump_transfers);