]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
USB: serial: mos7720: fix parallel-port state restore
authorJohan Hovold <johan@kernel.org>
Wed, 4 Nov 2020 16:47:27 +0000 (17:47 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 5 Nov 2020 08:06:48 +0000 (09:06 +0100)
commit975323ab8f116667676c30ca3502a6757bd89e8d
treec3a5ae97ec30ecfe55d385af2cdb72893199d2e6
parent179dfb954790410f65605f1c479c029c2cd73c55
USB: serial: mos7720: fix parallel-port state restore

The parallel-port restore operations is called when a driver claims the
port and is supposed to restore the provided state (e.g. saved when
releasing the port).

Fixes: b69578df7e98 ("USB: usbserial: mos7720: add support for parallel port on moschip 7715")
Cc: stable <stable@vger.kernel.org> # 2.6.35
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mos7720.c