serial: 8250: Add helper for clearing IER
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 16 Aug 2022 12:07:59 +0000 (15:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2022 12:14:30 +0000 (14:14 +0200)
commita3911f6ea5542d56366a6495f2464a312d85d15b
tree45840ee198a6c958b2dcad330d07645588d5f969
parent5779a072c248db7a40cfd0f5ea958097fd1d9a30
serial: 8250: Add helper for clearing IER

A number of places want to clear IER with the same CAP_UUE trick.
Create a helper for that.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220816120759.11552-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c