]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
serial: omap: unlock the port lock
authorRuchika Kharwar <ruchika@ti.com>
Thu, 6 Sep 2012 12:45:34 +0000 (15:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 16:17:02 +0000 (09:17 -0700)
commit0324a821029e1f54e7a7f8fed48693cfce42dc0e
tree91686d0187b43c8b73ca0a701a907a23542168ff
parent52c5513d5925554d1e22288525bcb7d25fa98b16
serial: omap: unlock the port lock

This patch unlocks the port lock before calling a serial_core API
and re-acquires the port lock after calling it.
This patch fixes a system freeze issue seen when the serial_core
API uart_write_wakeup() eventually attempts to acquire the port lock
already acquired by omap serial interrupt handler.

Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Vijay Badawadagi <bvijay@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c