USB: f81232: implement port enable/disable method
authorPeter Hung <hpeter@gmail.com>
Tue, 17 Mar 2015 09:48:24 +0000 (17:48 +0800)
committerJohan Hovold <johan@kernel.org>
Fri, 27 Mar 2015 16:29:27 +0000 (17:29 +0100)
commit94f87309fb12e3d41dbc56df899f3b357277d0bf
tree8aa797cdedb8f6b87d94b851465006f9359417bd
parent691545fd92551baea6207781b33c95aa6444bf0d
USB: f81232: implement port enable/disable method

We put FCR/IER initial step to f81232_port_enable()/f81232_port_disable().
When port is open, it set MSR interrupt on. Otherwise set it off.

Signed-off-by: Peter Hung <hpeter+linux_kernel@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/f81232.c