Re: 2.6.21-rc1: mmc reader no longer works, usb oops

From: Oliver Neukum
Date: Tue Feb 27 2007 - 05:47:14 EST


Am Dienstag, 27. Februar 2007 11:36 schrieb Pavel Machek:
> Hi!
>
> MMC card reader in x60 no longer works in -rc1. (Will have to check if
> it worked before s2ram).
>
> When playing with usb-serial, I got this oops (upon trying to start
> minicom /dev/ttyUSB0 while linux gadget on the other end was
> crashing).

Does this help?

--- a/drivers/usb/serial/usb-serial.c 2007-02-21 05:32:30.000000000 +0100
+++ b/drivers/usb/serial/usb-serial.c 2007-02-26 15:32:50.000000000 +0100
@@ -826,7 +826,6 @@
num_ports = type->num_ports;
}

- serial->minor = minor;
serial->num_ports = num_ports;
serial->num_bulk_in = num_bulk_in;
serial->num_bulk_out = num_bulk_out;
@@ -980,6 +979,7 @@
dev_err(&interface->dev, "No more free serial devices\n");
goto probe_error;
}
+ serial->minor = minor;

/* register all of the individual ports with the driver core */
for (i = 0; i < num_ports; ++i) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/