kernel_optimize_test/drivers/mmc/card
Nicolas Pitre 15b82b46de sdio: fix recursion issues between sdio-uart driver and tty layer
In a few places, sdio_uart_irq() is called directly instead of waiting
for the actual interrupt to be raised and the SDIO IRQ thread scheduled
in order to reduce latency.  However, some interaction with the tty core
may end up calling us back (serial echo, flow control, etc.) creating
two issues:

 - the host lock gets claimed twice from the same thread causing a
   deadlock;

 - the same direct calls to sdio_uart_irq() may be performed causing
   unexpected reentrancy into the IRQ handler.

This patch handles both of those issues.

Signed-off-by: Nicolas Pitre <npitre@mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2007-09-23 21:24:52 +02:00
..
block.c mmc: remove confusing flag 2007-09-23 09:15:12 +02:00
Kconfig sdio: UART/GPS driver 2007-09-23 21:02:45 +02:00
Makefile sdio: UART/GPS driver 2007-09-23 21:02:45 +02:00
queue.c mmc: reorganize bounce buffer init 2007-08-09 14:37:17 +02:00
queue.h mmc: bounce requests for simple hosts 2007-07-09 21:22:53 +02:00
sdio_uart.c sdio: fix recursion issues between sdio-uart driver and tty layer 2007-09-23 21:24:52 +02:00