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)
commitd09a7308e9887a83abfd3176f4416d4142a265dc
tree383fc1796fc1179e2a742381bc4d9e98af13f8d8
parentb6ad29355560beef6d127c6d33fb10ec0113bd85
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