diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-05-20 16:40:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-29 13:59:03 -0700 |
commit | 217a9081d8e69026186067711131b77f0ce219ed (patch) | |
tree | 7933ca5e141fea2f5fe7595e5e1cc4580bb68488 /scripts/cleanpatch | |
parent | e16362a0c8d90e9adbfe477acbe32b021823fb22 (diff) |
USB: add all configs to the "descriptors" attribute
This patch (as1094) changes the output of the "descriptors" binary
attribute. Now it will contain the device descriptor followed by all
the configuration descriptors, not just the descriptor for the current
config.
Userspace libraries want to have access to the kernel's cached
descriptor information, so they can learn about device characteristics
without having to wake up suspended devices. So far the only user of
this attribute is the new libusb-1.0 library; thus changing its
contents shouldn't cause any problems.
This should be considered for 2.6.26, if for no other reason than to
minimize the range of releases in which the attribute contains only the
current config descriptor.
Also, it doesn't hurt that the patch removes the device locking --
which was formerly needed in order to know for certain which config was
indeed current.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions