USB: gadgetfs behaves better on userspace init bug
commitce46794f77f698eaf3b80922fafac5a9379085e0
authorDavid Brownell <david-b@pacbell.net>
Wed, 17 Jan 2007 07:06:07 +0000 (16 23:06 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:44:39 +0000 (7 15:44 -0800)
treea2adffcbc277f721d92eaa1fef3bdf6e14f66d57
parent5b89db02a5a7c8bad3c6fb7888778082a441b385
USB: gadgetfs behaves better on userspace init bug

Resolve an initizlization issue that could come up if the userspace
driver wrote invalid descriptors to a dual-speed device.

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