]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Allow initialization of broken keyspan serial adapters.
authorClark Rawlins <clark.rawlins@escient.com>
Thu, 27 Mar 2008 13:56:17 +0000 (09:56 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Apr 2008 22:06:09 +0000 (15:06 -0700)
commitb95a26e567ec19e95344137e50a886f4e58f1a0b
treefec2610431a359f69c2a99db4217671c91fa4b96
parent875a129cf8cc6c33cd0414e3f6e6af648d1bb740
USB: Allow initialization of broken keyspan serial adapters.

Fixes the keyspan driver after the addition of additional
checking of driver requirements introduced in usb-serial.c
commit 72d74dcef56b08ea6ca155ab6d14ebe30e4b8aa6.  The initialization
of the keyspan usb_serial_driver structs were not initializing the
num_interrupt_out field and the additional checking was rejecting
the end point so the driver wouldn't finish initializing.

This commit initializes the fields to NUM_DONT_CARE.
It works for the keyspan USA-49WG and doesn't break the USA-19HS
which are the two keyspan devices I have to test with.

Signed-off-by: Clark Rawlins <clark.rawlins@escient.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/keyspan.h