linux/drivers/usb/core
Alan Stern 2e5f10e4f0 USB: create attributes before sending uevent
This patch (as1087d) fixes a long-standing problem in usbcore: Device,
interface, and endpoint attributes aren't added until _after_ the
creation uevent has already been broadcast.

Unfortunately there are a few attributes which cannot be created that
early.  The "descriptors" attribute is binary and so must be created
separately.  The power-management attributes can't be created until
the dev/power/ group exists.  And the interface string can vary from
one altsetting to another, so it has to be created dynamically.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-05-14 10:00:26 -07:00
..
buffer.c
config.c
devices.c
devio.c
driver.c
endpoint.c USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00
file.c
generic.c
hcd-pci.c
hcd.c
hcd.h
hub.c
hub.h
inode.c
Kconfig
Makefile
message.c USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00
notify.c
otg_whitelist.h
quirks.c
sysfs.c USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00
urb.c
usb.c USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00
usb.h USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00