]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: serial: ti_usb_3410_5052: Correct TUSB3410 endpoint requirements.
authorRobert Spanton <rspanton@zepler.net>
Wed, 2 Apr 2008 23:15:15 +0000 (23:15 +0000)
committerChris Wright <chrisw@sous-sol.org>
Sat, 19 Apr 2008 01:53:22 +0000 (18:53 -0700)
commitf1920b5f097b15dace2d84fedb82121cb09c86b4
treeefb152f43f250175b1493a61b826aff8abdbabd4
parente114af2792992c4e2206dbfb28d52d3bbea2c2ef
USB: serial: ti_usb_3410_5052: Correct TUSB3410 endpoint requirements.

upstream commit: 1bfd6693cd66f1e79abce62d3e8c3647e1f59a55

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/usb/serial/ti_usb_3410_5052.c