Files
linux/drivers
Andrew Liu fbe543b412 Fix a potential issue in mpc52xx uart driver
mpc52xx_uart_int and __uart_put_char both try to acquire the
port->lock. Therefore the function sequence of:

mpc52xx_uart_int--> ...-->flush_to_ldisc-->...-->__uart_put_char

can potentially trigger a deadlock. To avoid this deadlock a fix
similar to that found in the 8250.c serial driver is applied. The
deadlock is avoided by releasing the lock before pushing a buffer
and reacquiring it when completed.

Signed-off-by: Andrew Liu <shengping.liu@windriver.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2008-05-01 11:59:12 -06:00
..
…
2008-04-28 10:03:31 -07:00
…
2008-04-28 15:05:44 -04:00
…
…
…
…
…
2008-04-28 08:58:34 -07:00
…
2008-04-25 00:06:52 +01:00
…
2008-04-28 08:58:32 -07:00
…
…
2008-04-28 23:44:43 +02:00
…
…
…
…
2008-04-28 08:58:31 -07:00
…
…
…
2008-04-28 10:03:31 -07:00
…
2008-04-24 23:57:33 +02:00
2008-04-24 23:57:33 +02:00
…