From: Clark Rawlins Date: Thu, 27 Mar 2008 13:56:17 +0000 (-0400) Subject: USB: Allow initialization of broken keyspan serial adapters. X-Git-Tag: v2.6.25-rc9~80^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=822470537d0fc1dee38a2a9c8b8c398bfbb332bb;p=pandora-kernel.git 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 063a2da8f01806906f7d7b1a1424b9afddebc443. 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 Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed