serial: max310x: Add the loopback mode support
authorAlexander Shiyan <shc_work@mail.ru>
Fri, 7 Feb 2014 14:16:07 +0000 (18:16 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 17:33:05 +0000 (09:33 -0800)
commite7b8a3ceff5e5c4e2bd329717976b18ce033d7cd
tree5ea3a44d2893ef887e3ae84e6534f29ec31be636
parentf4fcc40b564dd1920029053be9c4dd557b23a7ec
serial: max310x: Add the loopback mode support

This patch replaces loopback mode support from platform data to
dynamic setup with TIOCMSET ioctl.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c
include/linux/platform_data/max310x.h