USB: visor: fix trivial accounting bug in visor driver
authorOliver Neukum <oliver@neukum.org>
Thu, 1 Oct 2009 12:54:46 +0000 (14:54 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Oct 2009 20:52:08 +0000 (13:52 -0700)
commit4c9fde9b860ccb27a7b026844eb3ef64c77e5a49
treec622ed06703f7c77d02186d4be07aeee426d0307
parent63a9609513007537a0b23ac511fd73f9bd609ea0
USB: visor: fix trivial accounting bug in visor driver

usb:usbserial:visor: fix accounting in error case

data not pushed to the tty layer due to an error mustn't be counted

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/visor.c