diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-11-08 16:37:26 +0100 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2014-03-04 15:38:15 -0800 |
commit | 7a7b562d08ad6db98d6c8ec634620a11aaf8921a (patch) | |
tree | ad6372d80cd8c356d25fb0a617b496e360840493 /tools/perf/scripts/python | |
parent | f7920884eb640bc642f3b4e56f5237d30a080eda (diff) |
usb: Clear host_endpoint->streams when implicitly freeing streams
If streams are still allocated on device-reset or set-interface then the hcd
code implictly frees the streams. Clear host_endpoint->streams in this case
so that if a driver later tries to re-allocate them it won't run afoul of the
device already having streams check in usb_alloc_streams().
Note normally streams still being allocated at reset / set-intf would be a
driver bug, but this can happen without it being a driver bug on reset-resume.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions