serial: fsl_lpuart: don't restore interrupt state in ISR
authorMichael Walle <michael@walle.cc>
Wed, 12 May 2021 14:12:49 +0000 (16:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 14:08:26 +0000 (16:08 +0200)
commit0d84f62220eda0eb167b01433f5ce8ebf51654a8
tree298e3bbe7614df11ed3fc783c7a6c2e60f2f4da5
parentec22c3eec5439fb012a41d49b015c13ca9b91b6c
serial: fsl_lpuart: don't restore interrupt state in ISR

>From commit 75f4e830fa9c ("serial: do not restore interrupt state in
sysrq helper"):

  Since commit 81e2073c175b ("genirq: Disable interrupts for force
  threaded handlers") interrupt handlers that are not explicitly
  requested as threaded are always called with interrupts disabled and
  there is no need to save the interrupt state when taking the port
  lock.

Apply this also to fsl_lpuart in prepartion for sysrq handling with
uart_unlock_and_check_sysrq().

Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210512141255.18277-4-michael@walle.cc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c