OSDN Git Service

serial: imx: allow waking up on RTSD
authorEduardo Valentin <edubezval@gmail.com>
Tue, 11 Aug 2015 17:21:22 +0000 (10:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 00:23:25 +0000 (17:23 -0700)
commitbc85734b126f813ba46265c2d3a84c8839cb2e54
treee8afe1708ace1d91d542335b71f49923a5d27628
parent189550b8644ef5d00d3b744f7fd423cce2d7c9ec
serial: imx: allow waking up on RTSD

This patch sets RTSDEN bit when going into idle (Stop mode).
We add the RTSDEN for the case RTS is sent from
the remote connection. This way we allow the system
to wakeup when RTS is received.

Cc: Fabio Stevam <festevam@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c