On Mon, Jun 17, 2019 at 04:59:51PM +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> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> > Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> > Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > Cc: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: Giulio Benetti <giulio.benetti@xxxxxxxxxxxxxxxx> > --- > v7: > - No change > > v6: > - New patch > > drivers/tty/serial/8250/8250.h | 54 +++++++++++++++++++++++++++++ > drivers/tty/serial/8250/8250_port.c | 25 ++----------- > 2 files changed, 57 insertions(+), 22 deletions(-) This patch does not apply to my tty-next tree. Please rebase the series and resend. thanks, greg k-h