Skip to content

Commit d04863e

Browse files
Brad Sawatzkygregkh
authored andcommitted
USB: serial: fix regression in Visor/Palm OS module for kernels >= 2.6.24
Fixes a bug/inconsistency revealed by the additional sanity checking in commit 063a2da introduced in the original 2.6.24 branch. The Handspring Visor / PalmOS 4 device structure defines .num_bulk_out=2 but the usb-serial probe returns num_bulk_out=3, triggering the check in the above commit and forcing a bail out when the device (a Garmin iQue in my case) attempts to connect. The patch bumps the expected number of endpoints to 3. FWIW, this patch will probably solve the following kernel bug report for Treo users (identical symptoms, different model PalmOS units): <http://bugzilla.kernel.org/show_bug.cgi?id=10118> Signed-off-by: Brad Sawatzky <brad+kernel@swatter.net> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent e889868 commit d04863e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/usb/serial/visor.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static struct usb_serial_driver handspring_device = {
191191
.id_table = id_table,
192192
.num_interrupt_in = NUM_DONT_CARE,
193193
.num_bulk_in = 2,
194-
.num_bulk_out = 2,
194+
.num_bulk_out = NUM_DONT_CARE,
195195
.num_ports = 2,
196196
.open = visor_open,
197197
.close = visor_close,

0 commit comments

Comments
 (0)