Hi,
I got an oops with gadget CDC ethernet built-in. It is caused by
see below code:
switch (gadget->speed) {
case USB_SPEED_SUPER:
descriptors = f->ss_descriptors;
break;
case USB_SPEED_HIGH:
descriptors = f->hs_descriptors;
break;
default:
descriptors = f->descriptors;
}
#### oops here
for (; *descriptors; ++descriptors) {
####
gadget->speed = USB_SPEED_HIGH but f->hs_descriptor is NULL
I fix it by seting the speed as the speed of config functions.
This might be a temporary workaround for me, not sure if it is the
right fix.
I use a linux-omap tree (added some archos gpl driver for their gen8 devices)
Please take a look the fix patch at:
http://gitorious.org/archos-a101-linux-omap/archos-a101-linux-omap/commit/915d027577a36b361274ceb19430d4abdcae40cd
--
Thanks
Yang Ruirui
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html