Re: [PATCHv2.1] serdev: implement get/set tiocm

From: Rob Herring
Date: Wed Mar 22 2017 - 17:19:10 EST


On Tue, Mar 21, 2017 at 7:58 PM, Sebastian Reichel <sre@xxxxxxxxxx> wrote:
> Add method for getting and setting tiocm.
>
> Signed-off-by: Sebastian Reichel <sre@xxxxxxxxxx>
> ---
> Changes since PATCHv2:
> * fix serdev_device_set_tiocm inline definition for disabled SERDEV
> * use <linux/termios.h> instead of <asm-generic/termios.h>
> ---
> drivers/tty/serdev/core.c | 22 ++++++++++++++++++++++
> drivers/tty/serdev/serdev-ttyport.c | 24 ++++++++++++++++++++++++
> include/linux/serdev.h | 13 +++++++++++++
> 3 files changed, 59 insertions(+)

I'm not that big of a fan of {set,get}_tiocm, but I guess it is fine.

Acked-by: Rob Herring <robh@xxxxxxxxxx>

Rob