]> err.no Git - linux-2.6/commit
USB: remove broken usb-serial num_endpoints check
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Apr 2008 21:17:29 +0000 (14:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 16 Apr 2008 05:30:53 +0000 (22:30 -0700)
commit07c3b1a1001614442c665570942a3107a722c314
tree0a144a39d68ba3a684628d374c99d7f13d8273db
parent32147be4cc50e5e4445a8760125cacc258c61638
USB: remove broken usb-serial num_endpoints check

The num_interrupt_in, num_bulk_in, and other checks in the usb-serial
code are just wrong, there are too many different devices out there with
different numbers of endpoints.  We need to just be sticking with the
device ids instead of trying to catch this kind of thing.  It broke too
many different devices.

This fixes a large number of usb-serial devices to get them working
properly again.

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