]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ftd_sio usb: move status check
authorJason Wessel <jason.wessel@windriver.com>
Mon, 11 May 2009 20:24:08 +0000 (15:24 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:45 +0000 (21:44 -0700)
commit7575c57213375fafbde660196e3508d2cad4c218
tree52dd981d6b2af6a10db8ec83b4b78d29a907a2c1
parentdbdf7cf7242e2875e54a469b0550b202fa2a54a1
USB: serial: ftd_sio usb: move status check

Alan Stern commented that the private driver counts must be updated
regard less of the status return on the urb when the write call back
is executed.

This patch alters the behavior to update the private driver counts by
simply moving the status check to after the driver count update.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c