]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit470564167fe9a06b9f7712987c8e764fd2f5c209
tree45840ee198a6c958b2dcad330d07645588d5f969
parent9c01cb434d1043c0ab03b083b6e058361323c9bc
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