]> err.no Git - linux-2.6/commit
USB: serial: ti_usb_3410_5052: Correct TUSB3410 endpoint requirements.
authorRobert Spanton <rspanton@zepler.net>
Sun, 23 Mar 2008 19:47:23 +0000 (19:47 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Apr 2008 22:06:08 +0000 (15:06 -0700)
commit1bfd6693cd66f1e79abce62d3e8c3647e1f59a55
treee45f59e8eef22ae530b9fdd8f0612e249a4853f6
parentcdc647a9b75741659bfc6acc44a6b3a646ad53bf
USB: serial: ti_usb_3410_5052: Correct TUSB3410 endpoint requirements.

The changes introduced in commit
063a2da8f01806906f7d7b1a1424b9afddebc443 changed the semantics of the
num_interrupt_in, num_interrupt_out, num_bulk_in and num_bulk_out
entries of the usb_serial_driver struct to be the number of endpoints
the device has when probed.

This patch changes the ti_1port_device usb_serial_driver struct to
reflect this change.  The single port devices only have 1
bulk_out endpoint in their initial configuration, and so this patch
changes the number of other types to NUM_DONT_CARE.

The same change probably needs doing to the ti_2port_device struct,
but I don't have a two port device at hand.

Signed-off-by: Robert Spanton <rspanton@zepler.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ti_usb_3410_5052.c