composite.c (f228a8de242a85659d9c86f2b9ff862775f015c2) | composite.c (554eead5436401ae3cfdb7d79fca24c14ebab143) |
---|---|
1/* 2 * composite.c - infrastructure for Composite USB Gadgets 3 * 4 * Copyright (C) 2006-2008 David Brownell 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 223 unchanged lines hidden (view full) --- 232 * to avoid bulk and ISO transfers. 233 */ 234 if (!config->fullspeed && function->fs_descriptors) 235 config->fullspeed = true; 236 if (!config->highspeed && function->hs_descriptors) 237 config->highspeed = true; 238 if (!config->superspeed && function->ss_descriptors) 239 config->superspeed = true; | 1/* 2 * composite.c - infrastructure for Composite USB Gadgets 3 * 4 * Copyright (C) 2006-2008 David Brownell 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 223 unchanged lines hidden (view full) --- 232 * to avoid bulk and ISO transfers. 233 */ 234 if (!config->fullspeed && function->fs_descriptors) 235 config->fullspeed = true; 236 if (!config->highspeed && function->hs_descriptors) 237 config->highspeed = true; 238 if (!config->superspeed && function->ss_descriptors) 239 config->superspeed = true; |
240 if (!config->superspeed_plus && function->ssp_descriptors) 241 config->superspeed_plus = true; |
|
240 241done: 242 if (value) 243 DBG(config->cdev, "adding '%s'/%p --> %d\n", 244 function->name, function, value); 245 return value; 246} 247EXPORT_SYMBOL_GPL(usb_add_function); --- 2119 unchanged lines hidden --- | 242 243done: 244 if (value) 245 DBG(config->cdev, "adding '%s'/%p --> %d\n", 246 function->name, function, value); 247 return value; 248} 249EXPORT_SYMBOL_GPL(usb_add_function); --- 2119 unchanged lines hidden --- |