diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-10-04 00:29:46 +0200 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2014-03-04 15:38:01 -0800 |
commit | ee4aa54bce2ae27c36998da3d32d9f55cb48ca21 (patch) | |
tree | 40dbe2943ab92a3c2175b554c47237d7fb6e5a6f /drivers/usb/host/xhci-ring.c | |
parent | df6138347bcde316e4d4b24ae4d9d0296461c79a (diff) | |
download | linux-ee4aa54bce2ae27c36998da3d32d9f55cb48ca21.tar.gz |
xhci: Check size rather then number of streams when allocating stream ctxs
Before this a device needing ie 32 stream ctxs would end up with an entry from
the small_streams_pool which has 256 bytes entries, where as 32 stream ctxs
need 512 bytes. Things actually keep running for a surprisingly long time
before crashing because of this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
0 files changed, 0 insertions, 0 deletions