]> err.no Git - linux-2.6/commit
usb_gadget: composite cdc gadget fault handling
authorDavid Brownell <david-b@pacbell.net>
Tue, 1 Jul 2008 20:18:20 +0000 (13:18 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:48 +0000 (15:16 -0700)
commitac90e36592ea5171c4e70f58b39a782d871a7d9f
tree00cb3eb55e6fa3e08d82b181b07c580260484c2b
parentc24f42276b4c4467e82cdd5a941fb7f9400aeea0
usb_gadget: composite cdc gadget fault handling

These two fixes ensure the new "CDC Composite Device" gadget
fails cleanly when it's loaded on hardware that can't support
this particular gadget driver.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/cdc2.c
drivers/usb/gadget/u_serial.c