USB: keyspan: fix overrun-error reporting
authorJohan Hovold <johan@kernel.org>
Tue, 18 Nov 2014 10:25:20 +0000 (11:25 +0100)
committerJohan Hovold <johan@kernel.org>
Wed, 19 Nov 2014 15:22:22 +0000 (16:22 +0100)
commit855515a6d3731242d85850a206f2ec084c917338
tree9617630f7eefa4c289fd7163774718d5bb08add4
parent5d1678a33c731b56e245e888fdae5e88efce0997
USB: keyspan: fix overrun-error reporting

Fix reporting of overrun errors, which are not associated with a
character. Instead insert a null character and report only once.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/keyspan.c