serdev: implement get/set tiocm
authorSebastian Reichel <sre@kernel.org>
Tue, 28 Mar 2017 15:59:32 +0000 (17:59 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:12:17 +0000 (22:12 +0200)
commit5659dab26f09a60db8bd1600e1ce89802fab1c7f
tree3961742bb77f667d58434ca80e5489bf6ac5d5d2
parentb3f80c8f75efb2e6a817a0e48bf36cd30685a138
serdev: implement get/set tiocm

Add method for getting and setting tiocm.

Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/tty/serdev/core.c
drivers/tty/serdev/serdev-ttyport.c
include/linux/serdev.h