diff options
author | Nathan Hjelm <hjelmn@me.com> | 2012-11-29 13:53:41 -0700 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2013-05-15 13:05:07 +0200 |
commit | 8399b52062e9aa2877ab6f61622fe9cb241fad57 (patch) | |
tree | e53523696fe28fbf7ee45202b86626618741fc0f /.gitignore | |
parent | 913a233ec20bcabe7c372d423d14c71b2ddf722f (diff) | |
download | libusb-8399b52062e9aa2877ab6f61622fe9cb241fad57.tar.gz |
Core: Cache device descriptors in the core
Discussion: It is necessary to cache the device descriptor in the core to
support reading the descriptors after a device is disconnected. We could
either 1) allow each backend to handle this caching (which would most
certainly duplicate code), or 2) cache the descritors when a device
is added. This patch does the later.
Further discussion: It might be beneficial to cache more than just the
device descriptors in the core. It might also be worthwhile caching the
configuration and BOS descriptors as well.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions