diff options
author | Nicolas Pitre <nico@cam.org> | 2007-08-20 23:17:37 +0200 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-09-23 21:24:52 +0200 |
commit | 15b82b46de358a574c2a6a6dea4c8076bef7ac43 (patch) | |
tree | 8ba3384b5dc10f7fca38de998e36366d5b2c8c4f /block | |
parent | sdio: add default c_ispeed/c_ospeed values to sdio_uart driver (diff) | |
download | linux-15b82b46de358a574c2a6a6dea4c8076bef7ac43.tar.xz linux-15b82b46de358a574c2a6a6dea4c8076bef7ac43.zip |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions