USB: ssu100: fix overrun-error reporting
commit 75bcbf29 upstream. Fix reporting of overrun errors, which should only be reported once using the inserted null character. Fixes: 6b8f1ca5 ("USB: ssu100: set tty_flags in ssu100_process_packet") Signed-off-by: Johan Hovold <johan@kernel.org> [lizf: Backported to 3.4: - adjust context - lookup tty using tty_port_tty_get()] Signed-off-by: Zefan Li <lizefan@huawei.com>
Showing
Please register or sign in to comment