ipack/devices/ipoctal: add rx_enable flag
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 10 Dec 2012 10:50:07 +0000 (11:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 02:24:39 +0000 (18:24 -0800)
commitb0d17fbdacb32f9f4b9ee1ad2b8f42f6a480d842
tree35f703a72c975bee4f79d4505ec3667e18ca346b
parentb06073f963b7b00a628e58e87d02028e2c9e430d
ipack/devices/ipoctal: add rx_enable flag

Thus, we don't enable RX when a termios setup has been called, as it could be
disabled previously.

As the control registers (Rx, Tx flags specifically) cannot be read from the
device, we keep this info in rx_enable.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ipack/devices/ipoctal.c