On Thu, Jun 13, 2019 at 05:45:41PM +0200, Stefan Roese wrote: > This patch adds wrapper functions to convert MSR <-> TIOCM and also > MCR <-> TIOCM. These functions are used now in serial8250_do_set_mctrl() > and serial8250_do_get_mctrl(). > > Signed-off-by: Stefan Roese <sr@xxxxxxx> > Suggested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>