]> git.baikalelectronics.ru Git - kernel.git/commit
serial: samsung: Restore IRQ mask during noirq resume
authorMichael Spang <spang@chromium.org>
Wed, 27 Mar 2013 23:34:24 +0000 (19:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 23:04:19 +0000 (16:04 -0700)
commit2a73fcf13df94fed4f95b81a2cbbe83086dc593c
tree383fc1796fc1179e2a742381bc4d9e98af13f8d8
parent3223a5b3b51e71ba0bda5dc663f5700e8219711d
serial: samsung: Restore IRQ mask during noirq resume

This closes a window where the system may hang in resume as soon as the
UART interrupt is enabled and before the mask is restored. The hang occurs
because the driver can't handle IRQs it thinks are masked.

Signed-off-by: Michael Spang <spang@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c