USB: keyspan: fix overrun-error reporting
commit 855515a6 upstream. Fix reporting of overrun errors, which are not associated with a character. Instead insert a null character and report only once. Fixes: 1da177e4 ("Linux-2.6.12-rc2") Signed-off-by: Johan Hovold <johan@kernel.org> [lizf: Backported to 3.4: - s/&port->port/tty - adjust context - adjust indentation] Signed-off-by: Zefan Li <lizefan@huawei.com>
Showing
Please register or sign in to comment